home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_emacs.idb / usr / freeware / share / emacs / 19.34 / lisp / decipher.elc.z / decipher.elc
Emacs Compiled Lisp  |  1998-10-28  |  19.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
55% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
44% TrID Summation Document Image Information Load File default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6b 77 7a 68 40 6e 75 |piled by| kwzh@nu|
|00000020| 74 72 69 6d 61 74 2e 67 | 6e 75 2e 61 69 2e 6d 69 |trimat.g|nu.ai.mi|
|00000030| 74 2e 65 64 75 20 6f 6e | 20 53 75 6e 20 4a 75 6c |t.edu on| Sun Jul|
|00000040| 20 32 31 20 31 35 3a 35 | 30 3a 32 30 20 31 39 39 | 21 15:5|0:20 199|
|00000050| 36 0a 3b 3b 3b 20 66 72 | 6f 6d 20 66 69 6c 65 20 |6.;;; fr|om file |
|00000060| 2f 67 64 2f 67 6e 75 2f | 65 6d 61 63 73 2f 31 39 |/gd/gnu/|emacs/19|
|00000070| 2e 30 2f 6c 69 73 70 2f | 64 65 63 69 70 68 65 72 |.0/lisp/|decipher|
|00000080| 2e 65 6c 0a 3b 3b 3b 20 | 65 6d 61 63 73 20 76 65 |.el.;;; |emacs ve|
|00000090| 72 73 69 6f 6e 20 31 39 | 2e 33 31 2e 39 34 2e 31 |rsion 19|.31.94.1|
|000000a0| 2e 0a 3b 3b 3b 20 62 79 | 74 65 63 6f 6d 70 20 76 |..;;; by|tecomp v|
|000000b0| 65 72 73 69 6f 6e 20 46 | 53 46 20 32 2e 31 30 0a |ersion F|SF 2.10.|
|000000c0| 3b 3b 3b 20 6f 70 74 69 | 6d 69 7a 61 74 69 6f 6e |;;; opti|mization|
|000000d0| 20 69 73 20 6f 6e 2e 0a | 3b 3b 3b 20 74 68 69 73 | is on..|;;; this|
|000000e0| 20 66 69 6c 65 20 75 73 | 65 73 20 6f 70 63 6f 64 | file us|es opcod|
|000000f0| 65 73 20 77 68 69 63 68 | 20 64 6f 20 6e 6f 74 20 |es which| do not |
|00000100| 65 78 69 73 74 20 69 6e | 20 45 6d 61 63 73 20 31 |exist in| Emacs 1|
|00000110| 38 2e 0a 0a 28 69 66 20 | 28 61 6e 64 20 28 62 6f |8...(if |(and (bo|
|00000120| 75 6e 64 70 20 27 65 6d | 61 63 73 2d 76 65 72 73 |undp 'em|acs-vers|
|00000130| 69 6f 6e 29 0a 09 20 28 | 6f 72 20 28 61 6e 64 20 |ion).. (|or (and |
|00000140| 28 62 6f 75 6e 64 70 20 | 27 65 70 6f 63 68 3a 3a |(boundp |'epoch::|
|00000150| 76 65 72 73 69 6f 6e 29 | 20 65 70 6f 63 68 3a 3a |version)| epoch::|
|00000160| 76 65 72 73 69 6f 6e 29 | 0a 09 20 20 20 20 20 28 |version)|.. (|
|00000170| 73 74 72 69 6e 67 2d 6c | 65 73 73 70 20 65 6d 61 |string-l|essp ema|
|00000180| 63 73 2d 76 65 72 73 69 | 6f 6e 20 22 31 39 2e 32 |cs-versi|on "19.2|
|00000190| 39 22 29 29 29 0a 20 20 | 20 20 28 65 72 72 6f 72 |9"))). | (error|
|000001a0| 20 22 60 64 65 63 69 70 | 68 65 72 2e 65 6c 27 20 | "`decip|her.el' |
|000001b0| 77 61 73 20 63 6f 6d 70 | 69 6c 65 64 20 66 6f 72 |was comp|iled for|
|000001c0| 20 45 6d 61 63 73 20 31 | 39 2e 32 39 20 6f 72 20 | Emacs 1|9.29 or |
|000001d0| 6c 61 74 65 72 22 29 29 | 0a 0a 0a 23 40 31 35 38 |later"))|...#@158|
|000001e0| 20 2a 4e 6f 6e 2d 6e 69 | 6c 20 6d 65 61 6e 73 20 | *Non-ni|l means |
|000001f0| 74 6f 20 63 6f 6e 76 65 | 72 74 20 63 69 70 68 65 |to conve|rt ciphe|
|00000200| 72 74 65 78 74 20 74 6f | 20 75 70 70 65 72 63 61 |rtext to| upperca|
|00000210| 73 65 2e 0a 4e 69 6c 20 | 6d 65 61 6e 73 20 74 68 |se..Nil |means th|
|00000220| 65 20 63 61 73 65 20 6f | 66 20 74 68 65 20 63 69 |e case o|f the ci|
|00000230| 70 68 65 72 74 65 78 74 | 20 69 73 20 70 72 65 73 |phertext| is pres|
|00000240| 65 72 76 65 64 2e 0a 54 | 68 69 73 20 76 61 72 69 |erved..T|his vari|
|00000250| 61 62 6c 65 20 6d 75 73 | 74 20 62 65 20 73 65 74 |able mus|t be set|
|00000260| 20 62 65 66 6f 72 65 20 | 74 79 70 69 6e 67 20 60 | before |typing `|
|00000270| 5c 5b 64 65 63 69 70 68 | 65 72 5d 27 2e 1f 0a 28 |\[deciph|er]'...(|
|00000280| 64 65 66 76 61 72 20 64 | 65 63 69 70 68 65 72 2d |defvar d|ecipher-|
|00000290| 66 6f 72 63 65 2d 75 70 | 70 65 72 63 61 73 65 20 |force-up|percase |
|000002a0| 74 20 28 23 24 20 2e 20 | 2d 34 38 31 29 29 0a 23 |t (#$ . |-481)).#|
|000002b0| 40 31 39 38 20 2a 4e 6f | 6e 2d 6e 69 6c 20 6d 65 |@198 *No|n-nil me|
|000002c0| 61 6e 73 20 74 6f 20 69 | 67 6e 6f 72 65 20 73 70 |ans to i|gnore sp|
|000002d0| 61 63 65 73 20 61 6e 64 | 20 70 75 6e 63 74 75 61 |aces and| punctua|
|000002e0| 74 69 6f 6e 20 77 68 65 | 6e 20 63 6f 75 6e 74 69 |tion whe|n counti|
|000002f0| 6e 67 20 64 69 67 72 61 | 6d 73 2e 0a 59 6f 75 20 |ng digra|ms..You |
|00000300| 73 68 6f 75 6c 64 20 73 | 65 74 20 74 68 69 73 20 |should s|et this |
|00000310| 74 6f 20 60 6e 69 6c 27 | 20 69 66 20 74 68 65 20 |to `nil'| if the |
|00000320| 63 69 70 68 65 72 20 6d | 65 73 73 61 67 65 20 69 |cipher m|essage i|
|00000330| 73 20 64 69 76 69 64 65 | 64 20 69 6e 74 6f 20 77 |s divide|d into w|
|00000340| 6f 72 64 73 2c 0a 6f 72 | 20 60 74 27 20 69 66 20 |ords,.or| `t' if |
|00000350| 69 74 20 69 73 20 6e 6f | 74 2e 0a 54 68 69 73 20 |it is no|t..This |
|00000360| 76 61 72 69 61 62 6c 65 | 20 69 73 20 62 75 66 66 |variable| is buff|
|00000370| 65 72 2d 6c 6f 63 61 6c | 2e 1f 0a 28 64 65 66 76 |er-local|...(defv|
|00000380| 61 72 20 64 65 63 69 70 | 68 65 72 2d 69 67 6e 6f |ar decip|her-igno|
|00000390| 72 65 2d 73 70 61 63 65 | 73 20 6e 69 6c 20 28 23 |re-space|s nil (#|
|000003a0| 24 20 2e 20 2d 36 39 33 | 29 29 0a 28 6d 61 6b 65 |$ . -693|)).(make|
|000003b0| 2d 76 61 72 69 61 62 6c | 65 2d 62 75 66 66 65 72 |-variabl|e-buffer|
|000003c0| 2d 6c 6f 63 61 6c 20 28 | 71 75 6f 74 65 20 64 65 |-local (|quote de|
|000003d0| 63 69 70 68 65 72 2d 69 | 67 6e 6f 72 65 2d 73 70 |cipher-i|gnore-sp|
|000003e0| 61 63 65 73 29 29 0a 23 | 40 31 34 30 20 54 68 65 |aces)).#|@140 The|
|000003f0| 20 6d 61 78 69 6d 75 6d | 20 6e 75 6d 62 65 72 20 | maximum| number |
|00000400| 6f 66 20 65 6e 74 72 69 | 65 73 20 69 6e 20 74 68 |of entri|es in th|
|00000410| 65 20 75 6e 64 6f 20 6c | 69 73 74 2e 0a 57 68 65 |e undo l|ist..Whe|
|00000420| 6e 20 74 68 65 20 75 6e | 64 6f 20 6c 69 73 74 20 |n the un|do list |
|00000430| 65 78 63 65 65 64 73 20 | 74 68 69 73 20 6e 75 6d |exceeds |this num|
|00000440| 62 65 72 2c 20 31 30 30 | 20 65 6e 74 72 69 65 73 |ber, 100| entries|
|00000450| 20 61 72 65 20 64 65 6c | 65 74 65 64 20 66 72 6f | are del|eted fro|
|00000460| 6d 0a 74 68 65 20 74 61 | 69 6c 20 6f 66 20 74 68 |m.the ta|il of th|
|00000470| 65 20 6c 69 73 74 2e 1f | 0a 28 64 65 66 76 61 72 |e list..|.(defvar|
|00000480| 20 64 65 63 69 70 68 65 | 72 2d 75 6e 64 6f 2d 6c | deciphe|r-undo-l|
|00000490| 69 6d 69 74 20 35 30 30 | 30 20 28 23 24 20 2e 20 |imit 500|0 (#$ . |
|000004a0| 31 30 30 35 29 29 0a 23 | 40 35 37 33 20 45 78 70 |1005)).#|@573 Exp|
|000004b0| 72 65 73 73 69 6f 6e 73 | 20 74 6f 20 66 6f 6e 74 |ressions| to font|
|000004c0| 69 66 79 20 69 6e 20 44 | 65 63 69 70 68 65 72 20 |ify in D|ecipher |
|000004d0| 6d 6f 64 65 2e 0a 43 69 | 70 68 65 72 74 65 78 74 |mode..Ci|phertext|
|000004e0| 20 75 73 65 73 20 60 66 | 6f 6e 74 2d 6c 6f 63 6b | uses `f|ont-lock|
|000004f0| 2d 6b 65 79 77 6f 72 64 | 2d 66 61 63 65 27 2c 20 |-keyword|-face', |
|00000500| 70 6c 61 69 6e 74 65 78 | 74 20 75 73 65 73 0a 60 |plaintex|t uses.`|
|00000510| 66 6f 6e 74 2d 6c 6f 63 | 6b 2d 73 74 72 69 6e 67 |font-loc|k-string|
|00000520| 2d 66 61 63 65 27 2c 20 | 63 6f 6d 6d 65 6e 74 73 |-face', |comments|
|00000530| 20 75 73 65 20 60 66 6f | 6e 74 2d 6c 6f 63 6b 2d | use `fo|nt-lock-|
|00000540| 63 6f 6d 6d 65 6e 74 2d | 66 61 63 65 27 2c 20 61 |comment-|face', a|
|00000550| 6e 64 0a 63 68 65 63 6b | 70 6f 69 6e 74 73 20 75 |nd.check|points u|
|00000560| 73 65 20 60 66 6f 6e 74 | 2d 6c 6f 63 6b 2d 72 65 |se `font|-lock-re|
|00000570| 66 65 72 65 6e 63 65 2d | 66 61 63 65 27 2e 20 20 |ference-|face'. |
|00000580| 59 6f 75 20 63 61 6e 20 | 63 75 73 74 6f 6d 69 7a |You can |customiz|
|00000590| 65 20 74 68 65 0a 64 69 | 73 70 6c 61 79 20 62 79 |e the.di|splay by|
|000005a0| 20 63 68 61 6e 67 69 6e | 67 20 74 68 65 73 65 20 | changin|g these |
|000005b0| 76 61 72 69 61 62 6c 65 | 73 2e 20 20 46 6f 72 20 |variable|s. For |
|000005c0| 62 65 73 74 20 72 65 73 | 75 6c 74 73 2c 20 49 20 |best res|ults, I |
|000005d0| 72 65 63 6f 6d 6d 65 6e | 64 0a 74 68 61 74 20 61 |recommen|d.that a|
|000005e0| 6c 6c 20 66 61 63 65 73 | 20 75 73 65 20 74 68 65 |ll faces| use the|
|000005f0| 20 73 61 6d 65 20 62 61 | 63 6b 67 72 6f 75 6e 64 | same ba|ckground|
|00000600| 20 63 6f 6c 6f 72 2e 0a | 46 6f 72 20 65 78 61 6d | color..|For exam|
|00000610| 70 6c 65 2c 20 74 6f 20 | 64 69 73 70 6c 61 79 20 |ple, to |display |
|00000620| 63 69 70 68 65 72 74 65 | 78 74 20 69 6e 20 74 68 |cipherte|xt in th|
|00000630| 65 20 60 62 6f 6c 64 27 | 20 66 61 63 65 2c 20 75 |e `bold'| face, u|
|00000640| 73 65 0a 20 20 28 61 64 | 64 2d 68 6f 6f 6b 20 27 |se. (ad|d-hook '|
|00000650| 64 65 63 69 70 68 65 72 | 2d 6d 6f 64 65 2d 68 6f |decipher|-mode-ho|
|00000660| 6f 6b 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 28 |ok. | (|
|00000670| 6c 61 6d 62 64 61 20 28 | 29 20 28 73 65 74 20 28 |lambda (|) (set (|
|00000680| 6d 61 6b 65 2d 6c 6f 63 | 61 6c 2d 76 61 72 69 61 |make-loc|al-varia|
|00000690| 62 6c 65 20 27 66 6f 6e | 74 2d 6c 6f 63 6b 2d 6b |ble 'fon|t-lock-k|
|000006a0| 65 79 77 6f 72 64 2d 66 | 61 63 65 29 0a 20 20 20 |eyword-f|ace). |
|000006b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006c0| 20 20 20 20 20 20 20 20 | 20 27 62 6f 6c 64 29 29 | | 'bold))|
|000006d0| 29 0a 69 6e 20 79 6f 75 | 72 20 60 2e 65 6d 61 63 |).in you|r `.emac|
|000006e0| 73 27 20 66 69 6c 65 2e | 1f 0a 28 64 65 66 76 61 |s' file.|..(defva|
|000006f0| 72 20 64 65 63 69 70 68 | 65 72 2d 66 6f 6e 74 2d |r deciph|er-font-|
|00000700| 6c 6f 63 6b 2d 6b 65 79 | 77 6f 72 64 73 20 28 71 |lock-key|words (q|
|00000710| 75 6f 74 65 20 28 28 22 | 5e 3a 2e 2a 22 20 2e 20 |uote (("|^:.*" . |
|00000720| 66 6f 6e 74 2d 6c 6f 63 | 6b 2d 6b 65 79 77 6f 72 |font-loc|k-keywor|
|00000730| 64 2d 66 61 63 65 29 20 | 28 22 5e 3e 2e 2a 22 20 |d-face) |("^>.*" |
|00000740| 2e 20 66 6f 6e 74 2d 6c | 6f 63 6b 2d 73 74 72 69 |. font-l|ock-stri|
|00000750| 6e 67 2d 66 61 63 65 29 | 20 28 22 5e 25 21 2e 2a |ng-face)| ("^%!.*|
|00000760| 22 20 2e 20 66 6f 6e 74 | 2d 6c 6f 63 6b 2d 72 65 |" . font|-lock-re|
|00000770| 66 65 72 65 6e 63 65 2d | 66 61 63 65 29 20 28 22 |ference-|face) ("|
|00000780| 5e 25 2e 2a 22 20 2e 20 | 66 6f 6e 74 2d 6c 6f 63 |^%.*" . |font-loc|
|00000790| 6b 2d 63 6f 6d 6d 65 6e | 74 2d 66 61 63 65 29 20 |k-commen|t-face) |
|000007a0| 28 22 5c 5c 60 28 5c 5c | 28 5b 61 2d 7a 5d 2b 5c |("\\`(\\|([a-z]+\|
|000007b0| 5c 29 20 2b 5c 5c 28 5b | 41 2d 5a 5d 2b 5c 5c 29 |\) +\\([|A-Z]+\\)|
|000007c0| 22 20 28 31 20 66 6f 6e | 74 2d 6c 6f 63 6b 2d 73 |" (1 fon|t-lock-s|
|000007d0| 74 72 69 6e 67 2d 66 61 | 63 65 29 20 28 32 20 66 |tring-fa|ce) (2 f|
|000007e0| 6f 6e 74 2d 6c 6f 63 6b | 2d 6b 65 79 77 6f 72 64 |ont-lock|-keyword|
|000007f0| 2d 66 61 63 65 29 29 20 | 28 22 5e 29 5c 5c 28 5b |-face)) |("^)\\([|
|00000800| 41 2d 5a 20 5d 2b 5c 5c | 29 5c 5c 28 5b 61 2d 7a |A-Z ]+\\|)\\([a-z|
|00000810| 20 5d 2b 5c 5c 29 22 20 | 28 31 20 66 6f 6e 74 2d | ]+\\)" |(1 font-|
|00000820| 6c 6f 63 6b 2d 6b 65 79 | 77 6f 72 64 2d 66 61 63 |lock-key|word-fac|
|00000830| 65 29 20 28 32 20 66 6f | 6e 74 2d 6c 6f 63 6b 2d |e) (2 fo|nt-lock-|
|00000840| 73 74 72 69 6e 67 2d 66 | 61 63 65 29 29 29 29 20 |string-f|ace)))) |
|00000850| 28 23 24 20 2e 20 31 31 | 39 37 29 29 0a 23 40 32 |(#$ . 11|97)).#@2|
|00000860| 37 20 4b 65 79 6d 61 70 | 20 66 6f 72 20 44 65 63 |7 Keymap| for Dec|
|00000870| 69 70 68 65 72 20 6d 6f | 64 65 2e 1f 0a 28 64 65 |ipher mo|de...(de|
|00000880| 66 76 61 72 20 64 65 63 | 69 70 68 65 72 2d 6d 6f |fvar dec|ipher-mo|
|00000890| 64 65 2d 6d 61 70 20 6e | 69 6c 20 28 23 24 20 2e |de-map n|il (#$ .|
|000008a0| 20 32 31 34 36 29 29 0a | 28 62 79 74 65 2d 63 6f | 2146)).|(byte-co|
|000008b0| 64 65 20 22 08 84 6d 00 | c1 20 10 c2 08 21 88 c3 |de "..m.|. ...!..|
|000008c0| 08 c4 c5 23 88 c3 08 c6 | c7 23 88 c3 08 c8 c9 23 |...#....|.#.....#|
|000008d0| 88 c3 08 ca cb 23 88 c3 | 08 cc cd 23 88 c3 08 ce |.....#..|...#....|
|000008e0| cf 23 88 c3 08 d0 d1 23 | 88 c3 08 d2 d3 23 88 c3 |.#.....#|.....#..|
|000008f0| 08 d4 d5 23 88 d6 d7 d3 | 08 0e 18 24 88 d6 d9 d3 |...#....|...$....|
|00000900| 08 0e 18 24 88 da 1e 1b | da dc 58 83 6c 00 c3 08 |...$....|..X.l...|
|00000910| dd 0e 1b 21 d5 23 88 0e | 1b 54 89 16 1b 82 55 00 |...!.#..|.T....U.|
|00000920| 29 c1 87 22 20 5b 64 65 | 63 69 70 68 65 72 2d 6d |).." [de|cipher-m|
|00000930| 6f 64 65 2d 6d 61 70 20 | 6d 61 6b 65 2d 6b 65 79 |ode-map |make-key|
|00000940| 6d 61 70 20 73 75 70 70 | 72 65 73 73 2d 6b 65 79 |map supp|ress-key|
|00000950| 6d 61 70 20 64 65 66 69 | 6e 65 2d 6b 65 79 20 22 |map defi|ne-key "|
|00000960| 41 22 20 64 65 63 69 70 | 68 65 72 2d 73 68 6f 77 |A" decip|her-show|
|00000970| 2d 61 6c 70 68 61 62 65 | 74 20 22 43 22 20 64 65 |-alphabe|t "C" de|
|00000980| 63 69 70 68 65 72 2d 63 | 6f 6d 70 6c 65 74 65 2d |cipher-c|omplete-|
|00000990| 61 6c 70 68 61 62 65 74 | 20 22 44 22 20 64 65 63 |alphabet| "D" dec|
|000009a0| 69 70 68 65 72 2d 64 69 | 67 72 61 6d 2d 6c 69 73 |ipher-di|gram-lis|
|000009b0| 74 20 22 46 22 20 64 65 | 63 69 70 68 65 72 2d 66 |t "F" de|cipher-f|
|000009c0| 72 65 71 75 65 6e 63 79 | 2d 63 6f 75 6e 74 20 22 |requency|-count "|
|000009d0| 4d 22 20 64 65 63 69 70 | 68 65 72 2d 6d 61 6b 65 |M" decip|her-make|
|000009e0| 2d 63 68 65 63 6b 70 6f | 69 6e 74 20 22 4e 22 20 |-checkpo|int "N" |
|000009f0| 64 65 63 69 70 68 65 72 | 2d 61 64 6a 61 63 65 6e |decipher|-adjacen|
|00000a00| 63 79 2d 6c 69 73 74 20 | 22 52 22 20 64 65 63 69 |cy-list |"R" deci|
|00000a10| 70 68 65 72 2d 72 65 73 | 74 6f 72 65 2d 63 68 65 |pher-res|tore-che|
|00000a20| 63 6b 70 6f 69 6e 74 20 | 22 55 22 20 64 65 63 69 |ckpoint |"U" deci|
|00000a30| 70 68 65 72 2d 75 6e 64 | 6f 20 22 20 22 20 64 65 |pher-und|o " " de|
|00000a40| 63 69 70 68 65 72 2d 6b | 65 79 70 72 65 73 73 20 |cipher-k|eypress |
|00000a50| 73 75 62 73 74 69 74 75 | 74 65 2d 6b 65 79 2d 64 |substitu|te-key-d|
|00000a60| 65 66 69 6e 69 74 69 6f | 6e 20 75 6e 64 6f 20 67 |efinitio|n undo g|
|00000a70| 6c 6f 62 61 6c 2d 6d 61 | 70 20 61 64 76 65 72 74 |lobal-ma|p advert|
|00000a80| 69 73 65 64 2d 75 6e 64 | 6f 20 39 37 20 6b 65 79 |ised-und|o 97 key|
|00000a90| 20 31 32 32 20 76 65 63 | 74 6f 72 5d 20 36 29 0a | 122 vec|tor] 6).|
|00000aa0| 23 40 33 33 20 4b 65 79 | 6d 61 70 20 66 6f 72 20 |#@33 Key|map for |
|00000ab0| 44 65 63 69 70 68 65 72 | 2d 53 74 61 74 73 20 6d |Decipher|-Stats m|
|00000ac0| 6f 64 65 2e 1f 0a 28 64 | 65 66 76 61 72 20 64 65 |ode...(d|efvar de|
|00000ad0| 63 69 70 68 65 72 2d 73 | 74 61 74 73 2d 6d 6f 64 |cipher-s|tats-mod|
|00000ae0| 65 2d 6d 61 70 20 6e 69 | 6c 20 28 23 24 20 2e 20 |e-map ni|l (#$ . |
|00000af0| 32 37 32 35 29 29 0a 28 | 62 79 74 65 2d 63 6f 64 |2725)).(|byte-cod|
|00000b00| 65 20 22 08 84 1d 00 c1 | 20 10 c2 08 21 88 c3 08 |e ".....| ...!...|
|00000b10| c4 c5 23 88 c3 08 c6 c7 | 23 88 c3 08 c8 c9 23 88 |..#.....|#.....#.|
|00000b20| c1 87 22 20 5b 64 65 63 | 69 70 68 65 72 2d 73 74 |.." [dec|ipher-st|
|00000b30| 61 74 73 2d 6d 6f 64 65 | 2d 6d 61 70 20 6d 61 6b |ats-mode|-map mak|
|00000b40| 65 2d 6b 65 79 6d 61 70 | 20 73 75 70 70 72 65 73 |e-keymap| suppres|
|00000b50| 73 2d 6b 65 79 6d 61 70 | 20 64 65 66 69 6e 65 2d |s-keymap| define-|
|00000b60| 6b 65 79 20 22 44 22 20 | 64 65 63 69 70 68 65 72 |key "D" |decipher|
|00000b70| 2d 64 69 67 72 61 6d 2d | 6c 69 73 74 20 22 46 22 |-digram-|list "F"|
|00000b80| 20 64 65 63 69 70 68 65 | 72 2d 66 72 65 71 75 65 | deciphe|r-freque|
|00000b90| 6e 63 79 2d 63 6f 75 6e | 74 20 22 4e 22 20 64 65 |ncy-coun|t "N" de|
|00000ba0| 63 69 70 68 65 72 2d 61 | 64 6a 61 63 65 6e 63 79 |cipher-a|djacency|
|00000bb0| 2d 6c 69 73 74 5d 20 34 | 29 0a 23 40 32 38 20 44 |-list] 4|).#@28 D|
|00000bc0| 65 63 69 70 68 65 72 20 | 6d 6f 64 65 20 73 79 6e |ecipher |mode syn|
|00000bd0| 74 61 78 20 74 61 62 6c | 65 1f 0a 28 64 65 66 76 |tax tabl|e..(defv|
|00000be0| 61 72 20 64 65 63 69 70 | 68 65 72 2d 6d 6f 64 65 |ar decip|her-mode|
|00000bf0| 2d 73 79 6e 74 61 78 2d | 74 61 62 6c 65 20 6e 69 |-syntax-|table ni|
|00000c00| 6c 20 28 23 24 20 2e 20 | 33 30 30 37 29 29 0a 28 |l (#$ . |3007)).(|
|00000c10| 62 79 74 65 2d 63 6f 64 | 65 20 22 08 84 1f 00 c1 |byte-cod|e ".....|
|00000c20| 20 c2 1b 1c 0b c5 58 83 | 1c 00 c6 0b c7 5c 66 23 | .....X.|.....\f#|
|00000c30| 88 0b 54 89 13 82 5c 6e | 00 5c 66 10 2a c8 c9 21 |..T...\n|.\f.*..!|
|00000c40| 84 28 00 ca 16 09 c9 0e | 0b 42 16 0b cc c9 21 87 |.(......|.B....!.|
|00000c50| 22 20 5b 64 65 63 69 70 | 68 65 72 2d 6d 6f 64 65 |" [decip|her-mode|
|00000c60| 2d 73 79 6e 74 61 78 2d | 74 61 62 6c 65 20 6d 61 |-syntax-|table ma|
|00000c70| 6b 65 2d 73 79 6e 74 61 | 78 2d 74 61 62 6c 65 20 |ke-synta|x-table |
|00000c80| 34 38 20 63 20 74 61 62 | 6c 65 20 35 37 20 6d 6f |48 c tab|le 57 mo|
|00000c90| 64 69 66 79 2d 73 79 6e | 74 61 78 2d 65 6e 74 72 |dify-syn|tax-entr|
|00000ca0| 79 20 22 5f 22 20 62 6f | 75 6e 64 70 20 64 65 63 |y "_" bo|undp dec|
|00000cb0| 69 70 68 65 72 2d 61 6c | 70 68 61 62 65 74 20 6e |ipher-al|phabet n|
|00000cc0| 69 6c 20 63 75 72 72 65 | 6e 74 2d 6c 6f 61 64 2d |il curre|nt-load-|
|00000cd0| 6c 69 73 74 20 6d 61 6b | 65 2d 76 61 72 69 61 62 |list mak|e-variab|
|00000ce0| 6c 65 2d 62 75 66 66 65 | 72 2d 6c 6f 63 61 6c 5d |le-buffe|r-local]|
|00000cf0| 20 35 29 0a 23 40 31 34 | 37 20 54 68 65 20 62 75 | 5).#@14|7 The bu|
|00000d00| 66 66 65 72 20 77 68 69 | 63 68 20 64 69 73 70 6c |ffer whi|ch displ|
|00000d10| 61 79 73 20 73 74 61 74 | 69 73 74 69 63 73 20 66 |ays stat|istics f|
|00000d20| 6f 72 20 74 68 69 73 20 | 63 69 70 68 65 72 74 65 |or this |cipherte|
|00000d30| 78 74 2e 0a 44 6f 20 6e | 6f 74 20 61 63 63 65 73 |xt..Do n|ot acces|
|00000d40| 73 20 74 68 69 73 20 76 | 61 72 69 61 62 6c 65 20 |s this v|ariable |
|00000d50| 64 69 72 65 63 74 6c 79 | 2c 20 75 73 65 20 74 68 |directly|, use th|
|00000d60| 65 20 66 75 6e 63 74 69 | 6f 6e 0a 60 64 65 63 69 |e functi|on.`deci|
|00000d70| 70 68 65 72 2d 73 74 61 | 74 73 2d 62 75 66 66 65 |pher-sta|ts-buffe|
|00000d80| 72 27 20 69 6e 73 74 65 | 61 64 2e 1f 0a 28 64 65 |r' inste|ad...(de|
|00000d90| 66 76 61 72 20 64 65 63 | 69 70 68 65 72 2d 73 74 |fvar dec|ipher-st|
|00000da0| 61 74 73 2d 62 75 66 66 | 65 72 20 6e 69 6c 20 28 |ats-buff|er nil (|
|00000db0| 23 24 20 2e 20 33 33 32 | 32 29 29 0a 28 6d 61 6b |#$ . 332|2)).(mak|
|00000dc0| 65 2d 76 61 72 69 61 62 | 6c 65 2d 62 75 66 66 65 |e-variab|le-buffe|
|00000dd0| 72 2d 6c 6f 63 61 6c 20 | 28 71 75 6f 74 65 20 64 |r-local |(quote d|
|00000de0| 65 63 69 70 68 65 72 2d | 73 74 61 74 73 2d 62 75 |ecipher-|stats-bu|
|00000df0| 66 66 65 72 29 29 0a 23 | 40 34 31 20 54 68 65 20 |ffer)).#|@41 The |
|00000e00| 6e 75 6d 62 65 72 20 6f | 66 20 65 6e 74 72 69 65 |number o|f entrie|
|00000e10| 73 20 69 6e 20 74 68 65 | 20 75 6e 64 6f 20 6c 69 |s in the| undo li|
|00000e20| 73 74 2e 1f 0a 28 64 65 | 66 76 61 72 20 64 65 63 |st...(de|fvar dec|
|00000e30| 69 70 68 65 72 2d 75 6e | 64 6f 2d 6c 69 73 74 2d |ipher-un|do-list-|
|00000e40| 73 69 7a 65 20 30 20 28 | 23 24 20 2e 20 33 35 38 |size 0 (|#$ . 358|
|00000e50| 30 29 29 0a 28 6d 61 6b | 65 2d 76 61 72 69 61 62 |0)).(mak|e-variab|
|00000e60| 6c 65 2d 62 75 66 66 65 | 72 2d 6c 6f 63 61 6c 20 |le-buffe|r-local |
|00000e70| 28 71 75 6f 74 65 20 64 | 65 63 69 70 68 65 72 2d |(quote d|ecipher-|
|00000e80| 75 6e 64 6f 2d 6c 69 73 | 74 2d 73 69 7a 65 29 29 |undo-lis|t-size))|
|00000e90| 0a 23 40 31 32 34 20 54 | 68 65 20 75 6e 64 6f 20 |.#@124 T|he undo |
|00000ea0| 6c 69 73 74 20 66 6f 72 | 20 74 68 69 73 20 62 75 |list for| this bu|
|00000eb0| 66 66 65 72 2e 0a 45 61 | 63 68 20 65 6c 65 6d 65 |ffer..Ea|ch eleme|
|00000ec0| 6e 74 20 69 73 20 65 69 | 74 68 65 72 20 61 20 63 |nt is ei|ther a c|
|00000ed0| 6f 6e 73 20 63 65 6c 6c | 20 28 50 4c 41 49 4e 2d |ons cell| (PLAIN-|
|00000ee0| 43 48 41 52 20 2e 20 43 | 49 50 48 45 52 2d 43 48 |CHAR . C|IPHER-CH|
|00000ef0| 41 52 29 20 6f 72 20 61 | 0a 6c 69 73 74 20 6f 66 |AR) or a|.list of|
|00000f00| 20 73 75 63 68 20 63 6f | 6e 73 20 63 65 6c 6c 73 | such co|ns cells|
|00000f10| 2e 1f 0a 28 64 65 66 76 | 61 72 20 64 65 63 69 70 |...(defv|ar decip|
|00000f20| 68 65 72 2d 75 6e 64 6f | 2d 6c 69 73 74 20 6e 69 |her-undo|-list ni|
|00000f30| 6c 20 28 23 24 20 2e 20 | 33 37 33 35 29 29 0a 28 |l (#$ . |3735)).(|
|00000f40| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 c1 21 88 c2 |byte-cod|e "..!..|
|00000f50| c3 21 84 5c 66 00 c4 13 | c3 0d 42 15 c4 87 22 20 |.!.\f...|..B..." |
|00000f60| 5b 6d 61 6b 65 2d 76 61 | 72 69 61 62 6c 65 2d 62 |[make-va|riable-b|
|00000f70| 75 66 66 65 72 2d 6c 6f | 63 61 6c 20 64 65 63 69 |uffer-lo|cal deci|
|00000f80| 70 68 65 72 2d 75 6e 64 | 6f 2d 6c 69 73 74 20 62 |pher-und|o-list b|
|00000f90| 6f 75 6e 64 70 20 64 65 | 63 69 70 68 65 72 2d 70 |oundp de|cipher-p|
|00000fa0| 65 6e 64 69 6e 67 2d 75 | 6e 64 6f 2d 6c 69 73 74 |ending-u|ndo-list|
|00000fb0| 20 6e 69 6c 20 63 75 72 | 72 65 6e 74 2d 6c 6f 61 | nil cur|rent-loa|
|00000fc0| 64 2d 6c 69 73 74 5d 20 | 32 29 0a 23 40 37 34 20 |d-list] |2).#@74 |
|00000fd0| 53 65 65 20 74 68 65 20 | 66 75 6e 63 74 69 6f 6e |See the |function|
|00000fe0| 73 20 64 65 63 69 70 68 | 65 72 2d 6c 6f 6f 70 2d |s deciph|er-loop-|
|00000ff0| 77 69 74 68 2d 62 72 65 | 61 6b 73 20 61 6e 64 20 |with-bre|aks and |
|00001000| 64 65 63 69 70 68 65 72 | 2d 6c 6f 6f 70 2d 6e 6f |decipher|-loop-no|
|00001010| 2d 62 72 65 61 6b 73 2e | 1f 0a 28 64 65 66 76 61 |-breaks.|..(defva|
|00001020| 72 20 64 65 63 69 70 68 | 65 72 2d 63 68 61 72 20 |r deciph|er-char |
|00001030| 6e 69 6c 20 28 23 24 20 | 2e 20 34 30 34 38 29 29 |nil (#$ |. 4048))|
|00001040| 0a 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 09 42 |.(byte-c|ode "..B|
|00001050| 11 c2 09 42 11 c3 09 42 | 11 c4 09 42 11 c5 09 42 |...B...B|...B...B|
|00001060| 11 c6 09 42 11 c0 87 22 | 20 5b 64 65 63 69 70 68 |...B..."| [deciph|
|00001070| 65 72 2d 2d 70 72 65 76 | 2d 63 68 61 72 20 63 75 |er--prev|-char cu|
|00001080| 72 72 65 6e 74 2d 6c 6f | 61 64 2d 6c 69 73 74 20 |rrent-lo|ad-list |
|00001090| 64 65 63 69 70 68 65 72 | 2d 2d 64 69 67 72 61 6d |decipher|--digram|
|000010a0| 20 64 65 63 69 70 68 65 | 72 2d 2d 64 69 67 72 61 | deciphe|r--digra|
|000010b0| 6d 2d 6c 69 73 74 20 64 | 65 63 69 70 68 65 72 2d |m-list d|ecipher-|
|000010c0| 2d 62 65 66 6f 72 65 20 | 64 65 63 69 70 68 65 72 |-before |decipher|
|000010d0| 2d 2d 61 66 74 65 72 20 | 64 65 63 69 70 68 65 72 |--after |decipher|
|000010e0| 2d 2d 66 72 65 71 73 5d | 20 32 29 0a 23 40 37 34 |--freqs]| 2).#@74|
|000010f0| 20 46 6f 72 6d 61 74 20 | 61 20 62 75 66 66 65 72 | Format |a buffer|
|00001100| 20 6f 66 20 63 69 70 68 | 65 72 74 65 78 74 20 66 | of ciph|ertext f|
|00001110| 6f 72 20 63 72 79 70 74 | 61 6e 61 6c 79 73 69 73 |or crypt|analysis|
|00001120| 20 61 6e 64 20 65 6e 74 | 65 72 20 44 65 63 69 70 | and ent|er Decip|
|00001130| 68 65 72 20 6d 6f 64 65 | 2e 1f 0a 28 64 65 66 61 |her mode|...(defa|
|00001140| 6c 69 61 73 20 27 64 65 | 63 69 70 68 65 72 20 23 |lias 'de|cipher #|
|00001150| 5b 6e 69 6c 20 22 64 62 | 88 6e 84 5c 6e 00 c0 63 |[nil "db|.n.\n..c|
|00001160| 88 65 62 88 c1 c2 21 83 | 1a 00 c3 c4 21 88 82 5e |.eb...!.|....!..^|
|00001170| 00 c5 63 88 c6 1e 07 6d | 84 57 00 c1 c8 21 83 30 |..c....m|.W...!.0|
|00001180| 00 c6 79 88 82 20 00 c9 | 20 88 6c 83 3d 00 c6 79 |..y.. ..| .l.=..y|
|00001190| 88 82 20 00 ca 63 88 60 | 16 07 c6 79 88 0e 0b 83 |.. ..c.`|...y....|
|000011a0| 51 00 cc 0e 07 60 5c 22 | 88 cd 63 88 82 20 00 29 |Q....`\"|..c.. .)|
|000011b0| ce 20 88 ce 20 88 cf d0 | 21 88 d1 20 87 22 20 5b |. .. ...|!.. ." [|
|000011c0| 22 5c 6e 22 20 6c 6f 6f | 6b 69 6e 67 2d 61 74 20 |"\n" loo|king-at |
|000011d0| 22 5e 28 61 62 63 64 65 | 66 67 68 69 6a 6b 6c 6d |"^(abcde|fghijklm|
|000011e0| 6e 6f 70 71 72 73 74 75 | 76 77 78 79 7a 20 20 20 |nopqrstu|vwxyz |
|000011f0| 41 42 43 44 45 46 47 48 | 49 4a 4b 4c 4d 4e 4f 50 |ABCDEFGH|IJKLMNOP|
|00001200| 51 52 53 54 55 56 57 58 | 59 5a 20 20 20 2d 5c 5c |QRSTUVWX|YZ -\\|
|00001210| 2a 2d 64 65 63 69 70 68 | 65 72 2d 5c 5c 2a 2d 5c |*-deciph|er-\\*-\|
|00001220| 6e 29 22 20 6d 65 73 73 | 61 67 65 20 22 42 75 66 |n)" mess|age "Buf|
|00001230| 66 65 72 20 69 73 20 61 | 6c 72 65 61 64 79 20 66 |fer is a|lready f|
|00001240| 6f 72 6d 61 74 74 65 64 | 2c 20 65 6e 74 65 72 69 |ormatted|, enteri|
|00001250| 6e 67 20 44 65 63 69 70 | 68 65 72 20 6d 6f 64 65 |ng Decip|her mode|
|00001260| 2e 2e 2e 22 20 22 28 61 | 62 63 64 65 66 67 68 69 |..." "(a|bcdefghi|
|00001270| 6a 6b 6c 6d 6e 6f 70 71 | 72 73 74 75 76 77 78 79 |jklmnopq|rstuvwxy|
|00001280| 7a 20 20 20 41 42 43 44 | 45 46 47 48 49 4a 4b 4c |z ABCD|EFGHIJKL|
|00001290| 4d 4e 4f 50 51 52 53 54 | 55 56 57 58 59 5a 20 20 |MNOPQRST|UVWXYZ |
|000012a0| 20 2d 2a 2d 64 65 63 69 | 70 68 65 72 2d 2a 2d 5c | -*-deci|pher-*-\|
|000012b0| 6e 29 5c 6e 5c 6e 22 20 | 6e 69 6c 20 62 65 67 69 |n)\n\n" |nil begi|
|000012c0| 6e 20 22 5e 25 22 20 64 | 65 6c 65 74 65 2d 68 6f |n "^%" d|elete-ho|
|000012d0| 72 69 7a 6f 6e 74 61 6c | 2d 73 70 61 63 65 20 22 |rizontal|-space "|
|000012e0| 3a 22 20 64 65 63 69 70 | 68 65 72 2d 66 6f 72 63 |:" decip|her-forc|
|000012f0| 65 2d 75 70 70 65 72 63 | 61 73 65 20 75 70 63 61 |e-upperc|ase upca|
|00001300| 73 65 2d 72 65 67 69 6f | 6e 20 22 3e 5c 6e 22 20 |se-regio|n ">\n" |
|00001310| 64 65 6c 65 74 65 2d 62 | 6c 61 6e 6b 2d 6c 69 6e |delete-b|lank-lin|
|00001320| 65 73 20 67 6f 74 6f 2d | 6c 69 6e 65 20 34 20 64 |es goto-|line 4 d|
|00001330| 65 63 69 70 68 65 72 2d | 6d 6f 64 65 5d 20 33 20 |ecipher-|mode] 3 |
|00001340| 28 23 24 20 2e 20 34 33 | 33 37 29 20 6e 69 6c 5d |(#$ . 43|37) nil]|
|00001350| 29 0a 23 40 36 36 39 20 | 4d 61 6a 6f 72 20 6d 6f |).#@669 |Major mo|
|00001360| 64 65 20 66 6f 72 20 64 | 65 63 72 79 70 74 69 6e |de for d|ecryptin|
|00001370| 67 20 6d 6f 6e 6f 61 6c | 70 68 61 62 65 74 69 63 |g monoal|phabetic|
|00001380| 20 73 75 62 73 74 69 74 | 75 74 69 6f 6e 20 63 69 | substit|ution ci|
|00001390| 70 68 65 72 73 2e 0a 4c | 6f 77 65 72 2d 63 61 73 |phers..L|ower-cas|
|000013a0| 65 20 6c 65 74 74 65 72 | 73 20 65 6e 74 65 72 20 |e letter|s enter |
|000013b0| 70 6c 61 69 6e 74 65 78 | 74 2e 0a 55 70 70 65 72 |plaintex|t..Upper|
|000013c0| 2d 63 61 73 65 20 6c 65 | 74 74 65 72 73 20 61 72 |-case le|tters ar|
|000013d0| 65 20 63 6f 6d 6d 61 6e | 64 73 2e 0a 0a 54 68 65 |e comman|ds...The|
|000013e0| 20 62 75 66 66 65 72 20 | 69 73 20 6d 61 64 65 20 | buffer |is made |
|000013f0| 72 65 61 64 2d 6f 6e 6c | 79 20 73 6f 20 74 68 61 |read-onl|y so tha|
|00001400| 74 20 6e 6f 72 6d 61 6c | 20 45 6d 61 63 73 20 63 |t normal| Emacs c|
|00001410| 6f 6d 6d 61 6e 64 73 20 | 63 61 6e 6e 6f 74 0a 6d |ommands |cannot.m|
|00001420| 6f 64 69 66 79 20 69 74 | 2e 0a 0a 54 68 65 20 6d |odify it|...The m|
|00001430| 6f 73 74 20 75 73 65 66 | 75 6c 20 63 6f 6d 6d 61 |ost usef|ul comma|
|00001440| 6e 64 73 20 61 72 65 3a | 0a 5c 3c 64 65 63 69 70 |nds are:|.\<decip|
|00001450| 68 65 72 2d 6d 6f 64 65 | 2d 6d 61 70 3e 0a 5c 5b |her-mode|-map>.\[|
|00001460| 64 65 63 69 70 68 65 72 | 2d 64 69 67 72 61 6d 2d |decipher|-digram-|
|00001470| 6c 69 73 74 5d 20 20 44 | 69 73 70 6c 61 79 20 61 |list] D|isplay a|
|00001480| 20 6c 69 73 74 20 6f 66 | 20 61 6c 6c 20 64 69 67 | list of| all dig|
|00001490| 72 61 6d 73 20 26 20 74 | 68 65 69 72 20 66 72 65 |rams & t|heir fre|
|000014a0| 71 75 65 6e 63 79 0a 5c | 5b 64 65 63 69 70 68 65 |quency.\|[deciphe|
|000014b0| 72 2d 66 72 65 71 75 65 | 6e 63 79 2d 63 6f 75 6e |r-freque|ncy-coun|
|000014c0| 74 5d 20 20 44 69 73 70 | 6c 61 79 20 74 68 65 20 |t] Disp|lay the |
|000014d0| 66 72 65 71 75 65 6e 63 | 79 20 6f 66 20 65 61 63 |frequenc|y of eac|
|000014e0| 68 20 63 69 70 68 65 72 | 74 65 78 74 20 6c 65 74 |h cipher|text let|
|000014f0| 74 65 72 0a 5c 5b 64 65 | 63 69 70 68 65 72 2d 61 |ter.\[de|cipher-a|
|00001500| 64 6a 61 63 65 6e 63 79 | 2d 6c 69 73 74 5d 20 20 |djacency|-list] |
|00001510| 53 68 6f 77 20 61 64 6a | 61 63 65 6e 63 79 20 6c |Show adj|acency l|
|00001520| 69 73 74 20 66 6f 72 20 | 63 75 72 72 65 6e 74 20 |ist for |current |
|00001530| 6c 65 74 74 65 72 20 28 | 6c 69 73 74 73 20 6c 65 |letter (|lists le|
|00001540| 74 74 65 72 73 20 61 70 | 70 65 61 72 69 6e 67 20 |tters ap|pearing |
|00001550| 6e 65 78 74 20 74 6f 20 | 69 74 29 0a 5c 5b 64 65 |next to |it).\[de|
|00001560| 63 69 70 68 65 72 2d 6d | 61 6b 65 2d 63 68 65 63 |cipher-m|ake-chec|
|00001570| 6b 70 6f 69 6e 74 5d 20 | 20 53 61 76 65 20 74 68 |kpoint] | Save th|
|00001580| 65 20 63 75 72 72 65 6e | 74 20 63 69 70 68 65 72 |e curren|t cipher|
|00001590| 20 61 6c 70 68 61 62 65 | 74 20 28 63 68 65 63 6b | alphabe|t (check|
|000015a0| 70 6f 69 6e 74 29 0a 5c | 5b 64 65 63 69 70 68 65 |point).\|[deciphe|
|000015b0| 72 2d 72 65 73 74 6f 72 | 65 2d 63 68 65 63 6b 70 |r-restor|e-checkp|
|000015c0| 6f 69 6e 74 5d 20 20 52 | 65 73 74 6f 72 65 20 61 |oint] R|estore a|
|000015d0| 20 73 61 76 65 64 20 63 | 69 70 68 65 72 20 61 6c | saved c|ipher al|
|000015e0| 70 68 61 62 65 74 20 28 | 63 68 65 63 6b 70 6f 69 |phabet (|checkpoi|
|000015f0| 6e 74 29 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |nt)..(de|falias '|
|00001600| 64 65 63 69 70 68 65 72 | 2d 6d 6f 64 65 20 23 5b |decipher|-mode #[|
|00001610| 6e 69 6c 20 22 c0 20 88 | c1 12 c3 14 c5 16 06 c7 |nil ". .|........|
|00001620| 16 08 0e 09 83 15 00 c3 | 16 5c 6e cb 0e 5c 66 21 |........|.\n..\f!|
|00001630| 88 cd 0e 0e 21 88 cf 20 | 88 d0 d1 21 d2 4c 88 d3 |....!.. |...!.L..|
|00001640| d4 21 88 d5 d4 d6 c3 c1 | 24 88 d7 d8 21 88 c1 89 |.!......|$...!...|
|00001650| 16 19 87 22 20 5b 6b 69 | 6c 6c 2d 61 6c 6c 2d 6c |..." [ki|ll-all-l|
|00001660| 6f 63 61 6c 2d 76 61 72 | 69 61 62 6c 65 73 20 74 |ocal-var|iables t|
|00001670| 20 62 75 66 66 65 72 2d | 75 6e 64 6f 2d 6c 69 73 | buffer-|undo-lis|
|00001680| 74 20 6e 69 6c 20 69 6e | 64 65 6e 74 2d 74 61 62 |t nil in|dent-tab|
|00001690| 73 2d 6d 6f 64 65 20 64 | 65 63 69 70 68 65 72 2d |s-mode d|ecipher-|
|000016a0| 6d 6f 64 65 20 6d 61 6a | 6f 72 2d 6d 6f 64 65 20 |mode maj|or-mode |
|000016b0| 22 44 65 63 69 70 68 65 | 72 22 20 6d 6f 64 65 2d |"Deciphe|r" mode-|
|000016c0| 6e 61 6d 65 20 64 65 63 | 69 70 68 65 72 2d 66 6f |name dec|ipher-fo|
|000016d0| 72 63 65 2d 75 70 70 65 | 72 63 61 73 65 20 63 61 |rce-uppe|rcase ca|
|000016e0| 73 65 2d 66 6f 6c 64 2d | 73 65 61 72 63 68 20 75 |se-fold-|search u|
|000016f0| 73 65 2d 6c 6f 63 61 6c | 2d 6d 61 70 20 64 65 63 |se-local|-map dec|
|00001700| 69 70 68 65 72 2d 6d 6f | 64 65 2d 6d 61 70 20 73 |ipher-mo|de-map s|
|00001710| 65 74 2d 73 79 6e 74 61 | 78 2d 74 61 62 6c 65 20 |et-synta|x-table |
|00001720| 64 65 63 69 70 68 65 72 | 2d 6d 6f 64 65 2d 73 79 |decipher|-mode-sy|
|00001730| 6e 74 61 78 2d 74 61 62 | 6c 65 20 64 65 63 69 70 |ntax-tab|le decip|
|00001740| 68 65 72 2d 72 65 61 64 | 2d 61 6c 70 68 61 62 65 |her-read|-alphabe|
|00001750| 74 20 6d 61 6b 65 2d 6c | 6f 63 61 6c 2d 76 61 72 |t make-l|ocal-var|
|00001760| 69 61 62 6c 65 20 66 6f | 6e 74 2d 6c 6f 63 6b 2d |iable fo|nt-lock-|
|00001770| 64 65 66 61 75 6c 74 73 | 20 28 64 65 63 69 70 68 |defaults| (deciph|
|00001780| 65 72 2d 66 6f 6e 74 2d | 6c 6f 63 6b 2d 6b 65 79 |er-font-|lock-key|
|00001790| 77 6f 72 64 73 20 74 29 | 20 6d 61 6b 65 2d 6c 6f |words t)| make-lo|
|000017a0| 63 61 6c 2d 68 6f 6f 6b | 20 63 68 61 6e 67 65 2d |cal-hook| change-|
|000017b0| 6d 61 6a 6f 72 2d 6d 6f | 64 65 2d 68 6f 6f 6b 20 |major-mo|de-hook |
|000017c0| 61 64 64 2d 68 6f 6f 6b | 20 23 5b 6e 69 6c 20 22 |add-hook| #[nil "|
|000017d0| c0 11 c0 89 12 87 22 20 | 5b 6e 69 6c 20 62 75 66 |......" |[nil buf|
|000017e0| 66 65 72 2d 72 65 61 64 | 2d 6f 6e 6c 79 20 62 75 |fer-read|-only bu|
|000017f0| 66 66 65 72 2d 75 6e 64 | 6f 2d 6c 69 73 74 5d 20 |ffer-und|o-list] |
|00001800| 32 5d 20 72 75 6e 2d 68 | 6f 6f 6b 73 20 64 65 63 |2] run-h|ooks dec|
|00001810| 69 70 68 65 72 2d 6d 6f | 64 65 2d 68 6f 6f 6b 20 |ipher-mo|de-hook |
|00001820| 62 75 66 66 65 72 2d 72 | 65 61 64 2d 6f 6e 6c 79 |buffer-r|ead-only|
|00001830| 5d 20 35 20 28 23 24 20 | 2e 20 34 39 35 32 29 20 |] 5 (#$ |. 4952) |
|00001840| 6e 69 6c 5d 29 0a 28 70 | 75 74 20 28 71 75 6f 74 |nil]).(p|ut (quot|
|00001850| 65 20 64 65 63 69 70 68 | 65 72 2d 6d 6f 64 65 29 |e deciph|er-mode)|
|00001860| 20 28 71 75 6f 74 65 20 | 6d 6f 64 65 2d 63 6c 61 | (quote |mode-cla|
|00001870| 73 73 29 20 28 71 75 6f | 74 65 20 73 70 65 63 69 |ss) (quo|te speci|
|00001880| 61 6c 29 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |al)).(de|falias '|
|00001890| 64 65 63 69 70 68 65 72 | 2d 6c 61 73 74 2d 63 6f |decipher|-last-co|
|000018a0| 6d 6d 61 6e 64 2d 63 68 | 61 72 20 27 28 6d 61 63 |mmand-ch|ar '(mac|
|000018b0| 72 6f 20 2e 20 23 5b 6e | 69 6c 20 22 c0 c1 21 83 |ro . #[n|il "..!.|
|000018c0| 08 00 c2 87 c3 87 22 20 | 5b 66 62 6f 75 6e 64 70 |......" |[fboundp|
|000018d0| 20 65 76 65 6e 74 2d 74 | 6f 2d 63 68 61 72 61 63 | event-t|o-charac|
|000018e0| 74 65 72 20 28 65 76 65 | 6e 74 2d 74 6f 2d 63 68 |ter (eve|nt-to-ch|
|000018f0| 61 72 61 63 74 65 72 20 | 6c 61 73 74 2d 63 6f 6d |aracter |last-com|
|00001900| 6d 61 6e 64 2d 65 76 65 | 6e 74 29 20 6c 61 73 74 |mand-eve|nt) last|
|00001910| 2d 63 6f 6d 6d 61 6e 64 | 2d 65 76 65 6e 74 5d 20 |-command|-event] |
|00001920| 32 5d 29 29 0a 23 40 34 | 34 20 45 6e 74 65 72 20 |2])).#@4|4 Enter |
|00001930| 61 20 70 6c 61 69 6e 74 | 65 78 74 20 6f 72 20 63 |a plaint|ext or c|
|00001940| 69 70 68 65 72 74 65 78 | 74 20 63 68 61 72 61 63 |iphertex|t charac|
|00001950| 74 65 72 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |ter...(d|efalias |
|00001960| 27 64 65 63 69 70 68 65 | 72 2d 6b 65 79 70 72 65 |'deciphe|r-keypre|
|00001970| 73 73 20 23 5b 6e 69 6c | 20 22 c0 c1 1a 1b 8a 8a |ss #[nil| "......|
|00001980| c4 79 88 67 1d c6 0d 55 | 83 15 00 c7 82 3a 00 c8 |.y.g...U|.....:..|
|00001990| 0d 55 83 1f 00 c1 82 3a | 00 c9 0d 55 83 2b 00 ca |.U.....:|...U.+..|
|000019a0| 13 c7 82 3a 00 cb 0d 55 | 83 37 00 ca 13 c1 82 3a |...:...U|.7.....:|
|000019b0| 00 cc cd 21 2a 84 46 00 | c1 1e 0e cf d0 21 88 29 |...!*.F.|.....!.)|
|000019c0| 67 0e 11 1e 12 1e 13 d4 | 0e 13 7a 55 84 5c 5c 00 |g.......|..zU.\\.|
|000019d0| 0e 12 d5 55 84 63 00 0b | 0e 13 0e 12 5c 22 88 2d |...U.c..|....\".-|
|000019e0| c1 75 87 22 20 5b 64 65 | 63 69 70 68 65 72 2d 73 |.u." [de|cipher-s|
|000019f0| 65 74 2d 6d 61 70 20 6e | 69 6c 20 62 75 66 66 65 |et-map n|il buffe|
|00001a00| 72 2d 72 65 61 64 2d 6f | 6e 6c 79 20 64 65 63 69 |r-read-o|nly deci|
|00001a10| 70 68 65 72 2d 66 75 6e | 63 74 69 6f 6e 20 30 20 |pher-fun|ction 0 |
|00001a20| 66 69 72 73 74 2d 63 68 | 61 72 20 35 38 20 74 20 |first-ch|ar 58 t |
|00001a30| 36 32 20 34 30 20 64 65 | 63 69 70 68 65 72 2d 61 |62 40 de|cipher-a|
|00001a40| 6c 70 68 61 62 65 74 2d | 6b 65 79 70 72 65 73 73 |lphabet-|keypress|
|00001a50| 20 34 31 20 65 72 72 6f | 72 20 22 42 61 64 20 6c | 41 erro|r "Bad l|
|00001a60| 6f 63 61 74 69 6f 6e 22 | 20 67 6f 61 6c 2d 63 6f |ocation"| goal-co|
|00001a70| 6c 75 6d 6e 20 70 72 65 | 76 69 6f 75 73 2d 6c 69 |lumn pre|vious-li|
|00001a80| 6e 65 20 31 20 6c 61 73 | 74 2d 63 6f 6d 6d 61 6e |ne 1 las|t-comman|
|00001a90| 64 2d 65 76 65 6e 74 20 | 63 68 61 72 2d 62 20 63 |d-event |char-b c|
|00001aa0| 68 61 72 2d 61 20 31 31 | 39 20 33 32 5d 20 33 20 |har-a 11|9 32] 3 |
|00001ab0| 28 23 24 20 2e 20 36 34 | 34 32 29 20 6e 69 6c 5d |(#$ . 64|42) nil]|
|00001ac0| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 64 65 63 |).(defal|ias 'dec|
|00001ad0| 69 70 68 65 72 2d 61 6c | 70 68 61 62 65 74 2d 6b |ipher-al|phabet-k|
|00001ae0| 65 79 70 72 65 73 73 20 | 23 5b 28 61 20 62 29 20 |eypress |#[(a b) |
|00001af0| 22 08 c1 59 83 11 00 08 | c2 58 83 11 00 c3 08 5c |"..Y....|.X.....\|
|00001b00| 66 5c 22 87 08 c5 59 83 | 3b 00 08 c6 58 83 3b 00 |f\"...Y.|;...X.;.|
|00001b10| 5c 66 c7 55 83 36 00 c8 | 08 0e 09 5c 22 41 89 14 |\f.U.6..|...\"A..|
|00001b20| c7 55 3f 85 3a 00 c3 5c | 66 c7 5c 22 87 c3 5c 66 |.U?.:..\|f.\"..\f|
|00001b30| 08 5c 22 87 ca cb 21 87 | 22 20 5b 61 20 36 35 20 |.\"...!.|" [a 65 |
|00001b40| 39 30 20 64 65 63 69 70 | 68 65 72 2d 73 65 74 2d |90 decip|her-set-|
|00001b50| 6d 61 70 20 62 20 39 37 | 20 31 32 32 20 33 32 20 |map b 97| 122 32 |
|00001b60| 61 73 73 6f 63 20 64 65 | 63 69 70 68 65 72 2d 61 |assoc de|cipher-a|
|00001b70| 6c 70 68 61 62 65 74 20 | 65 72 72 6f 72 20 22 42 |lphabet |error "B|
|00001b80| 61 64 20 63 68 61 72 61 | 63 74 65 72 22 5d 20 33 |ad chara|cter"] 3|
|00001b90| 5d 29 0a 23 40 33 33 20 | 55 6e 64 6f 20 61 20 63 |]).#@33 |Undo a c|
|00001ba0| 68 61 6e 67 65 20 69 6e | 20 44 65 63 69 70 68 65 |hange in| Deciphe|
|00001bb0| 72 20 6d 6f 64 65 2e 1f | 0a 28 64 65 66 61 6c 69 |r mode..|.(defali|
|00001bc0| 61 73 20 27 64 65 63 69 | 70 68 65 72 2d 75 6e 64 |as 'deci|pher-und|
|00001bd0| 6f 20 23 5b 6e 69 6c 20 | 22 c0 11 5c 6e c3 3d 84 |o #[nil |"..\n.=.|
|00001be0| 5c 66 00 c4 c5 21 88 0e | 06 c7 3d 84 17 00 0e 08 |\f...!..|..=.....|
|00001bf0| 16 09 0e 09 84 20 00 c4 | ca 21 88 0e 09 89 41 16 |..... ..|.!....A.|
|00001c00| 09 40 cb 89 89 89 1e 5c | 66 1e 0d 1e 0e 1e 0f 89 |.@.....\|f.......|
|00001c10| 1e 10 40 3a 84 40 00 0e | 10 43 16 10 0e 10 89 41 |..@:.@..|.C.....A|
|00001c20| 16 10 40 89 16 5c 66 83 | 7f 00 d1 0e 5c 66 41 0e |..@..\f.|....\fA.|
|00001c30| 5c 66 40 5c 22 89 16 0e | 83 72 00 0e 0e 40 3a 83 |\f@\"...|.r...@:.|
|00001c40| 6b 00 d2 0e 0e 0e 0d 5c | 22 82 70 00 0e 0e 0e 0d |k......\|".p.....|
|00001c50| 42 16 0d d3 0e 5c 66 41 | 0e 5c 66 40 c0 23 88 82 |B....\fA|.\f@.#..|
|00001c60| 40 00 d4 0e 0d 21 88 2d | c7 11 d5 d6 21 87 22 20 |@....!.-|....!." |
|00001c70| 5b 74 20 74 68 69 73 2d | 63 6f 6d 6d 61 6e 64 20 |[t this-|command |
|00001c80| 6d 61 6a 6f 72 2d 6d 6f | 64 65 20 64 65 63 69 70 |major-mo|de decip|
|00001c90| 68 65 72 2d 6d 6f 64 65 | 20 65 72 72 6f 72 20 22 |her-mode| error "|
|00001ca0| 54 68 69 73 20 62 75 66 | 66 65 72 20 69 73 20 6e |This buf|fer is n|
|00001cb0| 6f 74 20 69 6e 20 44 65 | 63 69 70 68 65 72 20 6d |ot in De|cipher m|
|00001cc0| 6f 64 65 22 20 6c 61 73 | 74 2d 63 6f 6d 6d 61 6e |ode" las|t-comman|
|00001cd0| 64 20 64 65 63 69 70 68 | 65 72 2d 75 6e 64 6f 20 |d deciph|er-undo |
|00001ce0| 64 65 63 69 70 68 65 72 | 2d 75 6e 64 6f 2d 6c 69 |decipher|-undo-li|
|00001cf0| 73 74 20 64 65 63 69 70 | 68 65 72 2d 70 65 6e 64 |st decip|her-pend|
|00001d00| 69 6e 67 2d 75 6e 64 6f | 2d 6c 69 73 74 20 22 4e |ing-undo|-list "N|
|00001d10| 6f 20 66 75 72 74 68 65 | 72 20 75 6e 64 6f 20 69 |o furthe|r undo i|
|00001d20| 6e 66 6f 72 6d 61 74 69 | 6f 6e 22 20 6e 69 6c 20 |nformati|on" nil |
|00001d30| 75 6e 64 6f 2d 6d 61 70 | 20 72 65 64 6f 2d 72 65 |undo-map| redo-re|
|00001d40| 63 20 72 65 64 6f 2d 6d | 61 70 20 62 75 66 66 65 |c redo-m|ap buffe|
|00001d50| 72 2d 72 65 61 64 2d 6f | 6e 6c 79 20 75 6e 64 6f |r-read-o|nly undo|
|00001d60| 2d 72 65 63 20 64 65 63 | 69 70 68 65 72 2d 67 65 |-rec dec|ipher-ge|
|00001d70| 74 2d 75 6e 64 6f 20 61 | 70 70 65 6e 64 20 64 65 |t-undo a|ppend de|
|00001d80| 63 69 70 68 65 72 2d 73 | 65 74 2d 6d 61 70 20 64 |cipher-s|et-map d|
|00001d90| 65 63 69 70 68 65 72 2d | 61 64 64 2d 75 6e 64 6f |ecipher-|add-undo|
|00001da0| 20 6d 65 73 73 61 67 65 | 20 22 55 6e 64 6f 21 22 | message| "Undo!"|
|00001db0| 5d 20 36 20 28 23 24 20 | 2e 20 37 30 36 34 29 20 |] 6 (#$ |. 7064) |
|00001dc0| 6e 69 6c 5d 29 0a 23 40 | 33 32 20 41 64 64 20 55 |nil]).#@|32 Add U|
|00001dd0| 4e 44 4f 2d 52 45 43 20 | 74 6f 20 74 68 65 20 75 |NDO-REC |to the u|
|00001de0| 6e 64 6f 20 6c 69 73 74 | 2e 1f 0a 28 64 65 66 61 |ndo list|...(defa|
|00001df0| 6c 69 61 73 20 27 64 65 | 63 69 70 68 65 72 2d 61 |lias 'de|cipher-a|
|00001e00| 64 64 2d 75 6e 64 6f 20 | 23 5b 28 75 6e 64 6f 2d |dd-undo |#[(undo-|
|00001e10| 72 65 63 29 20 22 08 85 | 20 00 08 09 42 11 5c 6e |rec) "..| ...B.\n|
|00001e20| 54 89 12 0b 56 85 20 00 | 0b c4 5a 89 1d 53 09 9b |T...V. .|..Z..S..|
|00001e30| c6 a1 88 0d 89 12 29 87 | 22 20 5b 75 6e 64 6f 2d |......).|" [undo-|
|00001e40| 72 65 63 20 64 65 63 69 | 70 68 65 72 2d 75 6e 64 |rec deci|pher-und|
|00001e50| 6f 2d 6c 69 73 74 20 64 | 65 63 69 70 68 65 72 2d |o-list d|ecipher-|
|00001e60| 75 6e 64 6f 2d 6c 69 73 | 74 2d 73 69 7a 65 20 64 |undo-lis|t-size d|
|00001e70| 65 63 69 70 68 65 72 2d | 75 6e 64 6f 2d 6c 69 6d |ecipher-|undo-lim|
|00001e80| 69 74 20 31 30 30 20 6e | 65 77 2d 73 69 7a 65 20 |it 100 n|ew-size |
|00001e90| 6e 69 6c 5d 20 33 20 28 | 23 24 20 2e 20 37 36 32 |nil] 3 (|#$ . 762|
|00001ea0| 37 29 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |7)]).(de|falias '|
|00001eb0| 64 65 63 69 70 68 65 72 | 2d 67 65 74 2d 75 6e 64 |decipher|-get-und|
|00001ec0| 6f 20 23 5b 28 63 69 70 | 68 65 72 2d 63 68 61 72 |o #[(cip|her-char|
|00001ed0| 20 70 6c 61 69 6e 2d 63 | 68 61 72 29 20 22 c0 c1 | plain-c|har) "..|
|00001ee0| 5c 6e 0b 5c 22 21 c0 c4 | 0d 0b 5c 22 21 1e 06 1e |\n.\"!..|..\"!...|
|00001ef0| 07 0d c8 9a 83 1b 00 0e | 07 82 49 00 5c 6e 0e 06 |........|..I.\n..|
|00001f00| 41 9a 83 27 00 c9 82 49 | 00 0e 06 41 c8 9a 83 3a |A..'...I|...A...:|
|00001f10| 00 0e 07 86 49 00 c8 5c | 6e 42 82 49 00 0e 07 83 |....I..\|nB.I....|
|00001f20| 47 00 0e 06 0e 07 44 82 | 49 00 0e 06 2a 87 22 20 |G.....D.|I...*." |
|00001f30| 5b 63 6f 70 79 2d 6c 69 | 73 74 20 72 61 73 73 6f |[copy-li|st rasso|
|00001f40| 63 20 63 69 70 68 65 72 | 2d 63 68 61 72 20 64 65 |c cipher|-char de|
|00001f50| 63 69 70 68 65 72 2d 61 | 6c 70 68 61 62 65 74 20 |cipher-a|lphabet |
|00001f60| 61 73 73 6f 63 20 70 6c | 61 69 6e 2d 63 68 61 72 |assoc pl|ain-char|
|00001f70| 20 70 6c 61 69 6e 2d 6d | 61 70 20 63 69 70 68 65 | plain-m|ap ciphe|
|00001f80| 72 2d 6d 61 70 20 33 32 | 20 6e 69 6c 5d 20 35 5d |r-map 32| nil] 5]|
|00001f90| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 64 65 63 |).(defal|ias 'dec|
|00001fa0| 69 70 68 65 72 2d 73 65 | 74 2d 6d 61 70 20 23 5b |ipher-se|t-map #[|
|00001fb0| 28 63 69 70 68 65 72 2d | 63 68 61 72 20 70 6c 61 |(cipher-|char pla|
|00001fc0| 69 6e 2d 63 68 61 72 20 | 26 6f 70 74 69 6f 6e 61 |in-char |&optiona|
|00001fd0| 6c 20 6e 6f 2d 75 6e 64 | 6f 29 20 22 08 96 89 10 |l no-und|o) "....|
|00001fe0| c1 59 83 0f 00 08 c2 58 | 84 13 00 c3 c4 21 88 0d |.Y.....X|.....!..|
|00001ff0| 84 1f 00 c6 c7 08 0e 08 | 5c 22 21 88 c9 08 21 c9 |........|\"!...!.|
|00002000| 0e 08 21 ca 89 89 1e 0b | 1e 5c 66 1e 0d 1e 0e 1e |..!.....|.\f.....|
|00002010| 0f 8a 65 62 88 d0 08 0e | 11 5c 22 89 16 5c 66 83 |..eb....|.\"..\f.|
|00002020| 58 00 0e 5c 66 d2 a1 88 | d3 d4 c9 0e 5c 66 40 21 |X..\f...|....\f@!|
|00002030| 50 21 88 d5 d2 21 88 d6 | 79 88 d7 0e 08 0e 11 5c |P!...!..|y......\|
|00002040| 22 89 16 5c 66 83 87 00 | 0e 5c 66 41 d2 55 84 74 |"..\f...|.\fA.U.t|
|00002050| 00 d8 0e 5c 66 41 d2 d9 | 23 88 0e 5c 66 08 a1 88 |...\fA..|#..\f...|
|00002060| d3 d4 0e 0e 50 21 88 d5 | 08 21 88 d6 79 88 d3 da |....P!..|.!..y...|
|00002070| 0e 0f 50 21 88 d5 0e 08 | 21 88 d9 16 0d 0e 0f 97 |..P!....|!.......|
|00002080| 16 0f db 1e 1c d3 dd ca | d9 23 85 c0 00 8a ca 7f |........|.#......|
|00002090| 88 60 29 16 0b de 0e 0f | 0e 0b df 23 83 9e 00 d5 |.`).....|...#....|
|000020a0| 0e 08 21 88 82 ae 00 2e | 07 87 22 20 5b 63 69 70 |..!.....|.." [cip|
|000020b0| 68 65 72 2d 63 68 61 72 | 20 36 35 20 39 30 20 65 |her-char| 65 90 e|
|000020c0| 72 72 6f 72 20 22 42 61 | 64 20 63 68 61 72 61 63 |rror "Ba|d charac|
|000020d0| 74 65 72 22 20 6e 6f 2d | 75 6e 64 6f 20 64 65 63 |ter" no-|undo dec|
|000020e0| 69 70 68 65 72 2d 61 64 | 64 2d 75 6e 64 6f 20 64 |ipher-ad|d-undo d|
|000020f0| 65 63 69 70 68 65 72 2d | 67 65 74 2d 75 6e 64 6f |ecipher-|get-undo|
|00002100| 20 70 6c 61 69 6e 2d 63 | 68 61 72 20 63 68 61 72 | plain-c|har char|
|00002110| 2d 74 6f 2d 73 74 72 69 | 6e 67 20 6e 69 6c 20 62 |-to-stri|ng nil b|
|00002120| 6f 75 6e 64 20 6d 61 70 | 70 69 6e 67 20 63 61 73 |ound map|ping cas|
|00002130| 65 2d 66 6f 6c 64 2d 73 | 65 61 72 63 68 20 70 6c |e-fold-s|earch pl|
|00002140| 61 69 6e 2d 73 74 72 69 | 6e 67 20 63 69 70 68 65 |ain-stri|ng ciphe|
|00002150| 72 2d 73 74 72 69 6e 67 | 20 72 61 73 73 6f 63 20 |r-string| rassoc |
|00002160| 64 65 63 69 70 68 65 72 | 2d 61 6c 70 68 61 62 65 |decipher|-alphabe|
|00002170| 74 20 33 32 20 73 65 61 | 72 63 68 2d 66 6f 72 77 |t 32 sea|rch-forw|
|00002180| 61 72 64 2d 72 65 67 65 | 78 70 20 22 5e 28 5b 61 |ard-rege|xp "^([a|
|00002190| 2d 7a 5d 2a 22 20 64 65 | 63 69 70 68 65 72 2d 69 |-z]*" de|cipher-i|
|000021a0| 6e 73 65 72 74 20 30 20 | 61 73 73 6f 63 20 64 65 |nsert 0 |assoc de|
|000021b0| 63 69 70 68 65 72 2d 73 | 65 74 2d 6d 61 70 20 74 |cipher-s|et-map t|
|000021c0| 20 22 5e 28 5b 61 2d 7a | 5d 2b 20 20 20 5b 41 2d | "^([a-z|]+ [A-|
|000021d0| 5a 5d 2a 22 20 69 67 6e | 6f 72 65 20 66 6f 6e 74 |Z]*" ign|ore font|
|000021e0| 2d 6c 6f 63 6b 2d 66 6f | 6e 74 69 66 79 2d 72 65 |-lock-fo|ntify-re|
|000021f0| 67 69 6f 6e 2d 66 75 6e | 63 74 69 6f 6e 20 22 5e |gion-fun|ction "^|
|00002200| 3a 22 20 73 65 61 72 63 | 68 2d 66 6f 72 77 61 72 |:" searc|h-forwar|
|00002210| 64 20 65 6e 64 5d 20 36 | 5d 29 0a 28 64 65 66 61 |d end] 6|]).(defa|
|00002220| 6c 69 61 73 20 27 64 65 | 63 69 70 68 65 72 2d 69 |lias 'de|cipher-i|
|00002230| 6e 73 65 72 74 20 23 5b | 28 63 68 61 72 29 20 22 |nsert #[|(char) "|
|00002240| 69 53 18 8a c1 79 88 c2 | 67 55 84 17 00 c3 67 55 |iS...y..|gU....gU|
|00002250| 84 17 00 c4 c5 21 88 c6 | 08 c7 5c 22 88 6c 84 24 |.....!..|..\".l.$|
|00002260| 00 c8 c9 21 88 ca 0e 0b | 21 2a 87 22 20 5b 63 6f |...!....|!*." [co|
|00002270| 6c 20 6e 69 6c 20 36 32 | 20 34 31 20 65 72 72 6f |l nil 62| 41 erro|
|00002280| 72 20 22 42 61 64 20 6c | 6f 63 61 74 69 6f 6e 22 |r "Bad l|ocation"|
|00002290| 20 6d 6f 76 65 2d 74 6f | 2d 63 6f 6c 75 6d 6e 20 | move-to|-column |
|000022a0| 74 20 64 65 6c 65 74 65 | 2d 63 68 61 72 20 31 20 |t delete|-char 1 |
|000022b0| 69 6e 73 65 72 74 2d 61 | 6e 64 2d 69 6e 68 65 72 |insert-a|nd-inher|
|000022c0| 69 74 20 63 68 61 72 5d | 20 33 5d 29 0a 23 40 32 |it char]| 3]).#@2|
|000022d0| 30 39 20 43 68 65 63 6b | 70 6f 69 6e 74 20 74 68 |09 Check|point th|
|000022e0| 65 20 63 75 72 72 65 6e | 74 20 63 69 70 68 65 72 |e curren|t cipher|
|000022f0| 20 61 6c 70 68 61 62 65 | 74 2e 0a 54 68 69 73 20 | alphabe|t..This |
|00002300| 72 65 63 6f 72 64 73 20 | 74 68 65 20 63 75 72 72 |records |the curr|
|00002310| 65 6e 74 20 61 6c 70 68 | 61 62 65 74 20 73 6f 20 |ent alph|abet so |
|00002320| 79 6f 75 20 63 61 6e 20 | 72 65 74 75 72 6e 20 74 |you can |return t|
|00002330| 6f 20 69 74 20 6c 61 74 | 65 72 2e 0a 59 6f 75 20 |o it lat|er..You |
|00002340| 6d 61 79 20 68 61 76 65 | 20 61 6e 79 20 6e 75 6d |may have| any num|
|00002350| 62 65 72 20 6f 66 20 63 | 68 65 63 6b 70 6f 69 6e |ber of c|heckpoin|
|00002360| 74 73 2e 0a 54 79 70 65 | 20 60 5c 5b 64 65 63 69 |ts..Type| `\[deci|
|00002370| 70 68 65 72 2d 72 65 73 | 74 6f 72 65 2d 63 68 65 |pher-res|tore-che|
|00002380| 63 6b 70 6f 69 6e 74 5d | 27 20 74 6f 20 72 65 73 |ckpoint]|' to res|
|00002390| 74 6f 72 65 20 61 20 63 | 68 65 63 6b 70 6f 69 6e |tore a c|heckpoin|
|000023a0| 74 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 64 |t...(def|alias 'd|
|000023b0| 65 63 69 70 68 65 72 2d | 6d 61 6b 65 2d 63 68 65 |ecipher-|make-che|
|000023c0| 63 6b 70 6f 69 6e 74 20 | 23 5b 28 64 65 73 63 29 |ckpoint |#[(desc)|
|000023d0| 20 22 08 3b 84 07 00 c1 | 10 c2 89 89 1b 1c 1d 65 | ".;....|.......e|
|000023e0| 62 88 c6 c7 21 88 c8 c9 | ca 5c 22 88 cb 60 cc 5a |b...!...|.\"..`.Z|
|000023f0| 60 5c 22 15 c6 cd c2 ce | 23 84 4b 00 cf d0 c2 ca |`\".....|#.K.....|
|00002400| 23 83 42 00 d1 79 88 d2 | d3 21 84 42 00 c2 79 88 |#.B..y..|.!.B..y.|
|00002410| d4 63 88 d1 79 88 d5 d6 | d7 d8 5c 22 d9 b1 03 88 |.c..y...|..\"....|
|00002420| da 79 88 db 0d dc 08 d4 | b1 05 2b 87 22 20 5b 64 |.y......|..+." [d|
|00002430| 65 73 63 20 22 22 20 6e | 69 6c 20 6d 61 70 70 69 |esc "" n|il mappi|
|00002440| 6e 67 20 62 75 66 66 65 | 72 2d 72 65 61 64 2d 6f |ng buffe|r-read-o|
|00002450| 6e 6c 79 20 61 6c 70 68 | 61 62 65 74 20 72 65 2d |nly alph|abet re-|
|00002460| 73 65 61 72 63 68 2d 66 | 6f 72 77 61 72 64 20 22 |search-f|orward "|
|00002470| 5e 29 22 20 6d 6f 76 65 | 2d 74 6f 2d 63 6f 6c 75 |^)" move|-to-colu|
|00002480| 6d 6e 20 32 37 20 74 20 | 62 75 66 66 65 72 2d 73 |mn 27 t |buffer-s|
|00002490| 75 62 73 74 72 69 6e 67 | 2d 6e 6f 2d 70 72 6f 70 |ubstring|-no-prop|
|000024a0| 65 72 74 69 65 73 20 32 | 36 20 22 5e 25 21 5b 41 |erties 2|6 "^%![A|
|000024b0| 2d 5a 20 5d 2b 21 22 20 | 65 6e 64 20 72 65 2d 73 |-Z ]+!" |end re-s|
|000024c0| 65 61 72 63 68 2d 62 61 | 63 6b 77 61 72 64 20 22 |earch-ba|ckward "|
|000024d0| 5e 25 20 2a 4c 6f 63 61 | 6c 20 56 61 72 69 61 62 |^% *Loca|l Variab|
|000024e0| 6c 65 73 3a 22 20 2d 31 | 20 6c 6f 6f 6b 69 6e 67 |les:" -1| looking|
|000024f0| 2d 61 74 20 22 5e 20 2a | 24 22 20 31 30 20 22 5c |-at "^ *|$" 10 "\|
|00002500| 6e 25 22 20 6d 61 6b 65 | 2d 73 74 72 69 6e 67 20 |n%" make|-string |
|00002510| 36 39 20 34 35 20 22 5c | 6e 25 20 43 68 65 63 6b |69 45 "\|n% Check|
|00002520| 70 6f 69 6e 74 73 3a 5c | 6e 25 20 61 62 63 64 65 |points:\|n% abcde|
|00002530| 66 67 68 69 6a 6b 6c 6d | 6e 6f 70 71 72 73 74 75 |fghijklm|nopqrstu|
|00002540| 76 77 78 79 7a 5c 6e 22 | 20 30 20 22 25 21 22 20 |vwxyz\n"| 0 "%!" |
|00002550| 22 21 20 22 5d 20 35 20 | 28 23 24 20 2e 20 38 39 |"! "] 5 |(#$ . 89|
|00002560| 31 35 29 20 22 73 43 68 | 65 63 6b 70 6f 69 6e 74 |15) "sCh|eckpoint|
|00002570| 20 64 65 73 63 72 69 70 | 74 69 6f 6e 3a 20 22 5d | descrip|tion: "]|
|00002580| 29 0a 23 40 32 33 35 20 | 52 65 73 74 6f 72 65 20 |).#@235 |Restore |
|00002590| 74 68 65 20 63 69 70 68 | 65 72 20 61 6c 70 68 61 |the ciph|er alpha|
|000025a0| 62 65 74 20 66 72 6f 6d | 20 61 20 63 68 65 63 6b |bet from| a check|
|000025b0| 70 6f 69 6e 74 2e 0a 49 | 66 20 70 6f 69 6e 74 20 |point..I|f point |
|000025c0| 69 73 20 6e 6f 74 20 6f | 6e 20 61 20 63 68 65 63 |is not o|n a chec|
|000025d0| 6b 70 6f 69 6e 74 20 6c | 69 6e 65 2c 20 6d 6f 76 |kpoint l|ine, mov|
|000025e0| 65 73 20 74 6f 20 74 68 | 65 20 66 69 72 73 74 20 |es to th|e first |
|000025f0| 63 68 65 63 6b 70 6f 69 | 6e 74 20 6c 69 6e 65 2e |checkpoi|nt line.|
|00002600| 0a 49 66 20 70 6f 69 6e | 74 20 69 73 20 6f 6e 20 |.If poin|t is on |
|00002610| 61 20 63 68 65 63 6b 70 | 6f 69 6e 74 2c 20 72 65 |a checkp|oint, re|
|00002620| 73 74 6f 72 65 73 20 74 | 68 61 74 20 63 68 65 63 |stores t|hat chec|
|00002630| 6b 70 6f 69 6e 74 2e 0a | 0a 54 79 70 65 20 60 5c |kpoint..|.Type `\|
|00002640| 5b 64 65 63 69 70 68 65 | 72 2d 6d 61 6b 65 2d 63 |[deciphe|r-make-c|
|00002650| 68 65 63 6b 70 6f 69 6e | 74 5d 27 20 74 6f 20 6d |heckpoin|t]' to m|
|00002660| 61 6b 65 20 61 20 63 68 | 65 63 6b 70 6f 69 6e 74 |ake a ch|eckpoint|
|00002670| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 64 65 |...(defa|lias 'de|
|00002680| 63 69 70 68 65 72 2d 72 | 65 73 74 6f 72 65 2d 63 |cipher-r|estore-c|
|00002690| 68 65 63 6b 70 6f 69 6e | 74 20 23 5b 6e 69 6c 20 |heckpoin|t #[nil |
|000026a0| 22 c0 79 88 c1 c2 21 83 | 2b 00 c3 c4 21 c5 1e 06 |".y...!.|+...!...|
|000026b0| 1e 07 65 62 88 c8 c9 21 | 88 6c 84 23 00 60 c5 7f |..eb...!|.l.#.`..|
|000026c0| 88 60 7c 88 0e 07 63 88 | ca 20 2a 87 65 62 88 c8 |.`|...c.|. *.eb..|
|000026d0| cb c5 cc 23 83 3d 00 cd | ce cf d0 21 5c 22 87 d1 |...#.=..|...!\"..|
|000026e0| d2 21 87 22 20 5b 30 20 | 6c 6f 6f 6b 69 6e 67 2d |.!." [0 |looking-|
|000026f0| 61 74 20 22 25 21 5c 5c | 28 5b 41 2d 5a 20 5d 2b |at "%!\\|([A-Z ]+|
|00002700| 5c 5c 29 21 22 20 6d 61 | 74 63 68 2d 73 74 72 69 |\\)!" ma|tch-stri|
|00002710| 6e 67 20 31 20 6e 69 6c | 20 62 75 66 66 65 72 2d |ng 1 nil| buffer-|
|00002720| 72 65 61 64 2d 6f 6e 6c | 79 20 61 6c 70 68 61 62 |read-onl|y alphab|
|00002730| 65 74 20 72 65 2d 73 65 | 61 72 63 68 2d 66 6f 72 |et re-se|arch-for|
|00002740| 77 61 72 64 20 22 5e 29 | 22 20 64 65 63 69 70 68 |ward "^)|" deciph|
|00002750| 65 72 2d 72 65 73 79 6e | 63 20 22 5e 25 21 5b 41 |er-resyn|c "^%![A|
|00002760| 2d 5a 20 5d 2b 21 22 20 | 74 20 6d 65 73 73 61 67 |-Z ]+!" |t messag|
|00002770| 65 20 22 53 65 6c 65 63 | 74 20 74 68 65 20 63 68 |e "Selec|t the ch|
|00002780| 65 63 6b 70 6f 69 6e 74 | 20 74 6f 20 72 65 73 74 |eckpoint| to rest|
|00002790| 6f 72 65 20 61 6e 64 20 | 74 79 70 65 20 60 25 73 |ore and |type `%s|
|000027a0| 27 22 20 73 75 62 73 74 | 69 74 75 74 65 2d 63 6f |'" subst|itute-co|
|000027b0| 6d 6d 61 6e 64 2d 6b 65 | 79 73 20 22 5c 5c 5b 64 |mmand-ke|ys "\\[d|
|000027c0| 65 63 69 70 68 65 72 2d | 72 65 73 74 6f 72 65 2d |ecipher-|restore-|
|000027d0| 63 68 65 63 6b 70 6f 69 | 6e 74 5d 22 20 65 72 72 |checkpoi|nt]" err|
|000027e0| 6f 72 20 22 4e 6f 20 63 | 68 65 63 6b 70 6f 69 6e |or "No c|heckpoin|
|000027f0| 74 73 20 69 6e 20 74 68 | 69 73 20 62 75 66 66 65 |ts in th|is buffe|
|00002800| 72 22 5d 20 34 20 28 23 | 24 20 2e 20 39 36 30 38 |r"] 4 (#|$ . 9608|
|00002810| 29 20 6e 69 6c 5d 29 0a | 23 40 32 30 31 20 43 6f |) nil]).|#@201 Co|
|00002820| 6d 70 6c 65 74 65 20 74 | 68 65 20 63 69 70 68 65 |mplete t|he ciphe|
|00002830| 72 20 61 6c 70 68 61 62 | 65 74 2e 0a 54 68 69 73 |r alphab|et..This|
|00002840| 20 66 69 6c 6c 73 20 61 | 6e 79 20 62 6c 61 6e 6b | fills a|ny blank|
|00002850| 73 20 69 6e 20 74 68 65 | 20 63 69 70 68 65 72 20 |s in the| cipher |
|00002860| 61 6c 70 68 61 62 65 74 | 20 77 69 74 68 20 74 68 |alphabet| with th|
|00002870| 65 20 75 6e 75 73 65 64 | 20 6c 65 74 74 65 72 73 |e unused| letters|
|00002880| 0a 69 6e 20 61 6c 70 68 | 61 62 65 74 69 63 61 6c |.in alph|abetical|
|00002890| 20 6f 72 64 65 72 2e 20 | 20 55 73 65 20 74 68 69 | order. | Use thi|
|000028a0| 73 20 77 68 65 6e 20 79 | 6f 75 20 68 61 76 65 20 |s when y|ou have |
|000028b0| 61 20 6b 65 79 77 6f 72 | 64 20 63 69 70 68 65 72 |a keywor|d cipher|
|000028c0| 20 61 6e 64 0a 79 6f 75 | 20 68 61 76 65 20 64 65 | and.you| have de|
|000028d0| 74 65 72 6d 69 6e 65 64 | 20 74 68 65 20 6b 65 79 |termined| the key|
|000028e0| 77 6f 72 64 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |word...(|defalias|
|000028f0| 20 27 64 65 63 69 70 68 | 65 72 2d 63 6f 6d 70 6c | 'deciph|er-compl|
|00002900| 65 74 65 2d 61 6c 70 68 | 61 62 65 74 20 23 5b 6e |ete-alph|abet #[n|
|00002910| 69 6c 20 22 c0 09 c2 89 | 89 1b 1c 1d 1e 06 1e 07 |il "....|........|
|00002920| 0e 06 89 41 16 06 40 89 | 14 83 41 00 5c 66 41 c8 |...A..@.|..A.\fA.|
|00002930| 9a 83 5c 66 00 c9 0e 07 | 09 5c 22 83 2f 00 0e 07 |..\f....|.\"./...|
|00002940| 54 16 07 82 1f 00 c8 0e | 07 42 0b 42 13 ca 0e 07 |T.......|.B.B....|
|00002950| 5c 66 40 cb 23 88 82 5c | 66 00 cc 0b 21 2d 87 22 |\f@.#..\|f...!-."|
|00002960| 20 5b 36 35 20 64 65 63 | 69 70 68 65 72 2d 61 6c | [65 dec|ipher-al|
|00002970| 70 68 61 62 65 74 20 6e | 69 6c 20 75 6e 64 6f 2d |phabet n|il undo-|
|00002980| 72 65 63 20 70 6c 61 69 | 6e 2d 6d 61 70 20 62 75 |rec plai|n-map bu|
|00002990| 66 66 65 72 2d 72 65 61 | 64 2d 6f 6e 6c 79 20 70 |ffer-rea|d-only p|
|000029a0| 74 72 20 63 69 70 68 65 | 72 2d 63 68 61 72 20 33 |tr ciphe|r-char 3|
|000029b0| 32 20 72 61 73 73 6f 63 | 20 64 65 63 69 70 68 65 |2 rassoc| deciphe|
|000029c0| 72 2d 73 65 74 2d 6d 61 | 70 20 74 20 64 65 63 69 |r-set-ma|p t deci|
|000029d0| 70 68 65 72 2d 61 64 64 | 2d 75 6e 64 6f 5d 20 35 |pher-add|-undo] 5|
|000029e0| 20 28 23 24 20 2e 20 31 | 30 32 37 30 29 20 6e 69 | (#$ . 1|0270) ni|
|000029f0| 6c 5d 29 0a 23 40 35 38 | 20 44 69 73 70 6c 61 79 |l]).#@58| Display|
|00002a00| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 63 69 70 | the cur|rent cip|
|00002a10| 68 65 72 20 61 6c 70 68 | 61 62 65 74 20 69 6e 20 |her alph|abet in |
|00002a20| 74 68 65 20 6d 65 73 73 | 61 67 65 20 6c 69 6e 65 |the mess|age line|
|00002a30| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 64 65 |...(defa|lias 'de|
|00002a40| 63 69 70 68 65 72 2d 73 | 68 6f 77 2d 61 6c 70 68 |cipher-s|how-alph|
|00002a50| 61 62 65 74 20 23 5b 6e | 69 6c 20 22 c0 c1 c2 0b |abet #[n|il "....|
|00002a60| c4 23 21 87 22 20 5b 6d | 65 73 73 61 67 65 20 6d |.#!." [m|essage m|
|00002a70| 61 70 63 6f 6e 63 61 74 | 20 23 5b 28 61 29 20 22 |apconcat| #[(a) "|
|00002a80| c0 09 40 21 c0 09 41 21 | 50 87 22 20 5b 63 68 61 |..@!..A!|P." [cha|
|00002a90| 72 2d 74 6f 2d 73 74 72 | 69 6e 67 20 61 5d 20 33 |r-to-str|ing a] 3|
|00002aa0| 5d 20 64 65 63 69 70 68 | 65 72 2d 61 6c 70 68 61 |] deciph|er-alpha|
|00002ab0| 62 65 74 20 22 22 5d 20 | 35 20 28 23 24 20 2e 20 |bet ""] |5 (#$ . |
|00002ac0| 31 30 37 34 35 29 20 6e | 69 6c 5d 29 0a 23 40 31 |10745) n|il]).#@1|
|00002ad0| 37 31 20 52 65 70 72 6f | 63 65 73 73 20 74 68 65 |71 Repro|cess the|
|00002ae0| 20 62 75 66 66 65 72 20 | 75 73 69 6e 67 20 74 68 | buffer |using th|
|00002af0| 65 20 61 6c 70 68 61 62 | 65 74 20 66 72 6f 6d 20 |e alphab|et from |
|00002b00| 74 68 65 20 74 6f 70 2e | 0a 54 68 69 73 20 72 65 |the top.|.This re|
|00002b10| 67 65 6e 65 72 61 74 65 | 73 20 61 6c 6c 20 64 65 |generate|s all de|
|00002b20| 63 69 70 68 65 72 65 64 | 20 70 6c 61 69 6e 74 65 |ciphered| plainte|
|00002b30| 78 74 20 61 6e 64 20 63 | 6c 65 61 72 73 20 74 68 |xt and c|lears th|
|00002b40| 65 20 75 6e 64 6f 20 6c | 69 73 74 2e 0a 59 6f 75 |e undo l|ist..You|
|00002b50| 20 73 68 6f 75 6c 64 20 | 75 73 65 20 74 68 69 73 | should |use this|
|00002b60| 20 69 66 20 79 6f 75 20 | 65 64 69 74 20 74 68 65 | if you |edit the|
|00002b70| 20 63 69 70 68 65 72 74 | 65 78 74 2e 1f 0a 28 64 | ciphert|ext...(d|
|00002b80| 65 66 61 6c 69 61 73 20 | 27 64 65 63 69 70 68 65 |efalias |'deciphe|
|00002b90| 72 2d 72 65 73 79 6e 63 | 20 23 5b 6e 69 6c 20 22 |r-resync| #[nil "|
|00002ba0| c0 c1 21 88 c2 89 89 1b | 1c 1d 8a c6 20 88 0e 07 |..!.....|.... ...|
|00002bb0| 15 65 62 88 c8 c9 c2 ca | 23 83 5c 22 00 cb cc c2 |.eb.....|#.\"....|
|00002bc0| 89 23 88 c8 cd c2 ca 23 | 83 33 00 cb ce c2 89 23 |.#.....#|.3.....#|
|00002bd0| 88 82 5c 22 00 c6 20 88 | 0d 89 41 15 40 89 13 83 |..\".. .|..A.@...|
|00002be0| 51 00 0b 41 cf 9a 84 36 | 00 d0 0b 41 0b 40 5c 22 |Q..A...6|...A.@\"|
|00002bf0| 88 82 36 00 2c c2 16 11 | d2 16 13 c0 d4 21 87 22 |..6.,...|.....!."|
|00002c00| 20 5b 6d 65 73 73 61 67 | 65 20 22 52 65 70 72 6f | [messag|e "Repro|
|00002c10| 63 65 73 73 69 6e 67 20 | 62 75 66 66 65 72 2e 2e |cessing |buffer..|
|00002c20| 2e 22 20 6e 69 6c 20 6d | 61 70 70 69 6e 67 20 62 |." nil m|apping b|
|00002c30| 75 66 66 65 72 2d 72 65 | 61 64 2d 6f 6e 6c 79 20 |uffer-re|ad-only |
|00002c40| 61 6c 70 68 61 62 65 74 | 20 64 65 63 69 70 68 65 |alphabet| deciphe|
|00002c50| 72 2d 72 65 61 64 2d 61 | 6c 70 68 61 62 65 74 20 |r-read-a|lphabet |
|00002c60| 64 65 63 69 70 68 65 72 | 2d 61 6c 70 68 61 62 65 |decipher|-alphabe|
|00002c70| 74 20 72 65 2d 73 65 61 | 72 63 68 2d 66 6f 72 77 |t re-sea|rch-forw|
|00002c80| 61 72 64 20 22 5e 29 2e | 2b 22 20 74 20 72 65 70 |ard "^).|+" t rep|
|00002c90| 6c 61 63 65 2d 6d 61 74 | 63 68 20 22 29 22 20 22 |lace-mat|ch ")" "|
|00002ca0| 5e 3e 2e 2b 22 20 22 3e | 22 20 33 32 20 64 65 63 |^>.+" ">|" 32 dec|
|00002cb0| 69 70 68 65 72 2d 73 65 | 74 2d 6d 61 70 20 64 65 |ipher-se|t-map de|
|00002cc0| 63 69 70 68 65 72 2d 75 | 6e 64 6f 2d 6c 69 73 74 |cipher-u|ndo-list|
|00002cd0| 20 30 20 64 65 63 69 70 | 68 65 72 2d 75 6e 64 6f | 0 decip|her-undo|
|00002ce0| 2d 6c 69 73 74 2d 73 69 | 7a 65 20 22 52 65 70 72 |-list-si|ze "Repr|
|00002cf0| 6f 63 65 73 73 69 6e 67 | 20 62 75 66 66 65 72 2e |ocessing| buffer.|
|00002d00| 2e 2e 64 6f 6e 65 22 5d | 20 34 20 28 23 24 20 2e |..done"]| 4 (#$ .|
|00002d10| 20 31 30 39 36 33 29 20 | 6e 69 6c 5d 29 0a 23 40 | 10963) |nil]).#@|
|00002d20| 36 37 20 42 75 69 6c 64 | 20 74 68 65 20 64 65 63 |67 Build| the dec|
|00002d30| 69 70 68 65 72 2d 61 6c | 70 68 61 62 65 74 20 66 |ipher-al|phabet f|
|00002d40| 72 6f 6d 20 74 68 65 20 | 61 6c 70 68 61 62 65 74 |rom the |alphabet|
|00002d50| 20 6c 69 6e 65 20 69 6e | 20 74 68 65 20 62 75 66 | line in| the buf|
|00002d60| 66 65 72 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |fer...(d|efalias |
|00002d70| 27 64 65 63 69 70 68 65 | 72 2d 72 65 61 64 2d 61 |'deciphe|r-read-a|
|00002d80| 6c 70 68 61 62 65 74 20 | 23 5b 6e 69 6c 20 22 8a |lphabet |#[nil ".|
|00002d90| 65 62 88 c0 c1 21 88 c2 | c3 c4 5c 22 88 c5 16 06 |eb...!..|..\"....|
|00002da0| c7 1e 08 c7 c9 59 85 2e | 00 ca 20 88 0e 08 67 42 |.....Y..|.. ...gB|
|00002db0| 0e 06 42 16 06 0e 08 53 | 89 16 08 82 14 00 2a 87 |..B....S|......*.|
|00002dc0| 22 20 5b 73 65 61 72 63 | 68 2d 66 6f 72 77 61 72 |" [searc|h-forwar|
|00002dd0| 64 2d 72 65 67 65 78 70 | 20 22 5e 29 22 20 6d 6f |d-regexp| "^)" mo|
|00002de0| 76 65 2d 74 6f 2d 63 6f | 6c 75 6d 6e 20 32 37 20 |ve-to-co|lumn 27 |
|00002df0| 74 20 6e 69 6c 20 64 65 | 63 69 70 68 65 72 2d 61 |t nil de|cipher-a|
|00002e00| 6c 70 68 61 62 65 74 20 | 31 32 32 20 70 6c 61 69 |lphabet |122 plai|
|00002e10| 6e 2d 63 68 61 72 20 39 | 37 20 62 61 63 6b 77 61 |n-char 9|7 backwa|
|00002e20| 72 64 2d 63 68 61 72 5d | 20 34 20 28 23 24 20 2e |rd-char]| 4 (#$ .|
|00002e30| 20 31 31 35 35 35 29 5d | 29 0a 23 40 35 35 20 44 | 11555)]|).#@55 D|
|00002e40| 69 73 70 6c 61 79 20 74 | 68 65 20 66 72 65 71 75 |isplay t|he frequ|
|00002e50| 65 6e 63 79 20 63 6f 75 | 6e 74 20 69 6e 20 74 68 |ency cou|nt in th|
|00002e60| 65 20 73 74 61 74 69 73 | 74 69 63 73 20 62 75 66 |e statis|tics buf|
|00002e70| 66 65 72 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |fer...(d|efalias |
|00002e80| 27 64 65 63 69 70 68 65 | 72 2d 66 72 65 71 75 65 |'deciphe|r-freque|
|00002e90| 6e 63 79 2d 63 6f 75 6e | 74 20 23 5b 6e 69 6c 20 |ncy-coun|t #[nil |
|00002ea0| 22 c0 20 88 c1 c2 c3 5c | 22 87 22 20 5b 64 65 63 |". ....\|"." [dec|
|00002eb0| 69 70 68 65 72 2d 61 6e | 61 6c 79 7a 65 20 64 65 |ipher-an|alyze de|
|00002ec0| 63 69 70 68 65 72 2d 64 | 69 73 70 6c 61 79 2d 72 |cipher-d|isplay-r|
|00002ed0| 65 67 65 78 70 20 22 5e | 41 22 20 22 5e 5b 41 2d |egexp "^|A" "^[A-|
|00002ee0| 5a 5d 5b 41 2d 5a 5d 22 | 5d 20 33 20 28 23 24 20 |Z][A-Z]"|] 3 (#$ |
|00002ef0| 2e 20 31 31 38 33 39 29 | 20 6e 69 6c 5d 29 0a 23 |. 11839)| nil]).#|
|00002f00| 40 35 35 20 44 69 73 70 | 6c 61 79 20 74 68 65 20 |@55 Disp|lay the |
|00002f10| 6c 69 73 74 20 6f 66 20 | 64 69 67 72 61 6d 73 20 |list of |digrams |
|00002f20| 69 6e 20 74 68 65 20 73 | 74 61 74 69 73 74 69 63 |in the s|tatistic|
|00002f30| 73 20 62 75 66 66 65 72 | 2e 1f 0a 28 64 65 66 61 |s buffer|...(defa|
|00002f40| 6c 69 61 73 20 27 64 65 | 63 69 70 68 65 72 2d 64 |lias 'de|cipher-d|
|00002f50| 69 67 72 61 6d 2d 6c 69 | 73 74 20 23 5b 6e 69 6c |igram-li|st #[nil|
|00002f60| 20 22 c0 20 88 c1 c2 c3 | 5c 22 87 22 20 5b 64 65 | ". ....|\"." [de|
|00002f70| 63 69 70 68 65 72 2d 61 | 6e 61 6c 79 7a 65 20 64 |cipher-a|nalyze d|
|00002f80| 65 63 69 70 68 65 72 2d | 64 69 73 70 6c 61 79 2d |ecipher-|display-|
|00002f90| 72 65 67 65 78 70 20 22 | 5b 41 2d 5a 5d 5b 41 2d |regexp "|[A-Z][A-|
|00002fa0| 5a 5d 20 2b 5b 30 2d 39 | 5d 22 20 22 5e 24 22 5d |Z] +[0-9|]" "^$"]|
|00002fb0| 20 33 20 28 23 24 20 2e | 20 31 32 30 33 36 29 20 | 3 (#$ .| 12036) |
|00002fc0| 6e 69 6c 5d 29 0a 23 40 | 36 35 35 20 44 69 73 70 |nil]).#@|655 Disp|
|00002fd0| 6c 61 79 20 74 68 65 20 | 61 64 6a 61 63 65 6e 63 |lay the |adjacenc|
|00002fe0| 79 20 6c 69 73 74 20 66 | 6f 72 20 74 68 65 20 6c |y list f|or the l|
|00002ff0| 65 74 74 65 72 20 61 74 | 20 70 6f 69 6e 74 2e 0a |etter at| point..|
|00003000| 54 68 65 20 61 64 6a 61 | 63 65 6e 63 79 20 6c 69 |The adja|cency li|
|00003010| 73 74 20 73 68 6f 77 73 | 20 61 6c 6c 20 6c 65 74 |st shows| all let|
|00003020| 74 65 72 73 20 77 68 69 | 63 68 20 63 6f 6d 65 20 |ters whi|ch come |
|00003030| 6e 65 78 74 20 74 6f 20 | 43 49 50 48 45 52 2d 43 |next to |CIPHER-C|
|00003040| 48 41 52 2e 0a 0a 41 6e | 20 61 64 6a 61 63 65 6e |HAR...An| adjacen|
|00003050| 63 79 20 6c 69 73 74 20 | 28 66 6f 72 20 74 68 65 |cy list |(for the|
|00003060| 20 6c 65 74 74 65 72 20 | 58 29 20 6c 6f 6f 6b 73 | letter |X) looks|
|00003070| 20 6c 69 6b 65 20 74 68 | 69 73 3a 0a 20 20 20 20 | like th|is:. |
|00003080| 20 20 20 31 20 31 20 20 | 20 20 20 20 20 20 20 31 | 1 1 | 1|
|00003090| 20 20 20 20 20 31 20 20 | 20 31 20 20 20 20 20 20 | 1 | 1 |
|000030a0| 20 33 20 32 20 31 20 20 | 20 20 20 20 20 20 20 20 | 3 2 1 | |
|000030b0| 20 20 20 33 20 20 20 38 | 0a 58 3a 20 41 20 42 20 | 3 8|.X: A B |
|000030c0| 43 20 44 20 45 20 46 20 | 47 20 48 20 49 20 4a 20 |C D E F |G H I J |
|000030d0| 4b 20 4c 20 4d 20 4e 20 | 4f 20 50 20 51 20 52 20 |K L M N |O P Q R |
|000030e0| 53 20 54 20 55 20 56 20 | 57 20 58 20 59 20 5a 20 |S T U V |W X Y Z |
|000030f0| 2a 20 20 31 31 20 20 20 | 31 34 20 20 20 39 25 0a |* 11 |14 9%.|
|00003100| 20 20 20 20 20 31 20 31 | 20 20 20 20 20 20 20 20 | 1 1| |
|00003110| 20 20 20 20 20 20 20 20 | 20 31 20 20 20 20 20 20 | | 1 |
|00003120| 20 32 20 20 20 31 20 20 | 20 31 20 20 20 20 20 32 | 2 1 | 1 2|
|00003130| 20 20 20 20 20 20 20 35 | 20 20 20 37 0a 54 68 69 | 5| 7.Thi|
|00003140| 73 20 73 61 79 73 20 74 | 68 61 74 20 58 20 63 6f |s says t|hat X co|
|00003150| 6d 65 73 20 62 65 66 6f | 72 65 20 44 20 6f 6e 63 |mes befo|re D onc|
|00003160| 65 2c 20 61 6e 64 20 61 | 66 74 65 72 20 42 20 6f |e, and a|fter B o|
|00003170| 6e 63 65 2e 20 20 58 20 | 62 65 67 69 6e 73 20 35 |nce. X |begins 5|
|00003180| 0a 77 6f 72 64 73 2c 20 | 61 6e 64 20 65 6e 64 73 |.words, |and ends|
|00003190| 20 33 20 77 6f 72 64 73 | 20 28 60 2a 27 20 72 65 | 3 words| (`*' re|
|000031a0| 70 72 65 73 65 6e 74 73 | 20 61 20 73 70 61 63 65 |presents| a space|
|000031b0| 29 2e 20 20 58 20 63 6f | 6d 65 73 20 62 65 66 6f |). X co|mes befo|
|000031c0| 72 65 20 38 0a 64 69 66 | 66 65 72 65 6e 74 20 6c |re 8.dif|ferent l|
|000031d0| 65 74 74 65 72 73 2c 20 | 61 66 74 65 72 20 37 20 |etters, |after 7 |
|000031e0| 64 69 66 66 65 72 65 72 | 65 6e 74 20 6c 65 74 74 |differer|ent lett|
|000031f0| 65 72 73 2c 20 61 6e 64 | 20 69 73 20 6e 65 78 74 |ers, and| is next|
|00003200| 20 74 6f 20 61 20 74 6f | 74 61 6c 0a 6f 66 20 31 | to a to|tal.of 1|
|00003210| 31 20 64 69 66 66 65 72 | 65 6e 74 20 6c 65 74 74 |1 differ|ent lett|
|00003220| 65 72 73 2e 20 20 49 74 | 20 6f 63 63 75 72 73 20 |ers. It| occurs |
|00003230| 31 34 20 74 69 6d 65 73 | 2c 20 6d 61 6b 69 6e 67 |14 times|, making|
|00003240| 20 75 70 20 39 25 20 6f | 66 20 74 68 65 0a 63 69 | up 9% o|f the.ci|
|00003250| 70 68 65 72 74 65 78 74 | 2e 1f 0a 28 64 65 66 61 |phertext|...(defa|
|00003260| 6c 69 61 73 20 27 64 65 | 63 69 70 68 65 72 2d 61 |lias 'de|cipher-a|
|00003270| 64 6a 61 63 65 6e 63 79 | 2d 6c 69 73 74 20 23 5b |djacency|-list #[|
|00003280| 28 63 69 70 68 65 72 2d | 63 68 61 72 29 20 22 c0 |(cipher-|char) ".|
|00003290| 20 88 c1 89 1a 1b 8a c4 | 20 71 88 65 62 88 c5 c6 | .......| q.eb...|
|000032a0| c7 0e 08 5c 22 c1 c9 23 | 84 21 00 ca cb 0e 08 5c |...\"..#|.!.....\|
|000032b0| 22 88 cc 79 88 60 13 cd | 79 88 60 12 29 ce 0b 5c |"..y.`..|y.`.)..\|
|000032c0| 6e 5c 22 2a 87 22 20 5b | 64 65 63 69 70 68 65 72 |n\"*." [|decipher|
|000032d0| 2d 61 6e 61 6c 79 7a 65 | 20 6e 69 6c 20 65 6e 64 |-analyze| nil end|
|000032e0| 20 73 74 61 72 74 20 64 | 65 63 69 70 68 65 72 2d | start d|ecipher-|
|000032f0| 73 74 61 74 73 2d 62 75 | 66 66 65 72 20 72 65 2d |stats-bu|ffer re-|
|00003300| 73 65 61 72 63 68 2d 66 | 6f 72 77 61 72 64 20 66 |search-f|orward f|
|00003310| 6f 72 6d 61 74 20 22 5e | 25 63 3a 20 22 20 63 69 |ormat "^|%c: " ci|
|00003320| 70 68 65 72 2d 63 68 61 | 72 20 74 20 65 72 72 6f |pher-cha|r t erro|
|00003330| 72 20 22 43 68 61 72 61 | 63 74 65 72 20 60 25 63 |r "Chara|cter `%c|
|00003340| 27 20 69 73 20 6e 6f 74 | 20 75 73 65 64 20 69 6e |' is not| used in|
|00003350| 20 63 69 70 68 65 72 74 | 65 78 74 2e 22 20 2d 31 | ciphert|ext." -1|
|00003360| 20 33 20 64 65 63 69 70 | 68 65 72 2d 64 69 73 70 | 3 decip|her-disp|
|00003370| 6c 61 79 2d 72 61 6e 67 | 65 5d 20 34 20 28 23 24 |lay-rang|e] 4 (#$|
|00003380| 20 2e 20 31 32 32 33 36 | 29 20 28 6c 69 73 74 20 | . 12236|) (list |
|00003390| 28 75 70 63 61 73 65 20 | 28 66 6f 6c 6c 6f 77 69 |(upcase |(followi|
|000033a0| 6e 67 2d 63 68 61 72 29 | 29 29 5d 29 0a 23 40 36 |ng-char)|))]).#@6|
|000033b0| 34 20 50 65 72 66 6f 72 | 6d 20 66 72 65 71 75 65 |4 Perfor|m freque|
|000033c0| 6e 63 79 20 61 6e 61 6c | 79 73 69 73 20 6f 6e 20 |ncy anal|ysis on |
|000033d0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 62 75 66 66 |the curr|ent buff|
|000033e0| 65 72 20 69 66 20 6e 65 | 63 65 73 73 61 72 79 2e |er if ne|cessary.|
|000033f0| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 64 65 63 |..(defal|ias 'dec|
|00003400| 69 70 68 65 72 2d 61 6e | 61 6c 79 7a 65 20 23 5b |ipher-an|alyze #[|
|00003410| 6e 69 6c 20 22 08 c1 3d | 86 1e 00 08 c2 3d 83 1b |nil "..=|.....=..|
|00003420| 00 c3 5c 66 21 83 18 00 | c5 5c 66 21 86 1e 00 c6 |..\f!...|.\f!....|
|00003430| 20 87 c7 c8 21 87 22 20 | 5b 6d 61 6a 6f 72 2d 6d | ...!." |[major-m|
|00003440| 6f 64 65 20 64 65 63 69 | 70 68 65 72 2d 73 74 61 |ode deci|pher-sta|
|00003450| 74 73 2d 6d 6f 64 65 20 | 64 65 63 69 70 68 65 72 |ts-mode |decipher|
|00003460| 2d 6d 6f 64 65 20 62 75 | 66 66 65 72 70 20 64 65 |-mode bu|fferp de|
|00003470| 63 69 70 68 65 72 2d 73 | 74 61 74 73 2d 62 75 66 |cipher-s|tats-buf|
|00003480| 66 65 72 20 62 75 66 66 | 65 72 2d 6e 61 6d 65 20 |fer buff|er-name |
|00003490| 64 65 63 69 70 68 65 72 | 2d 61 6e 61 6c 79 7a 65 |decipher|-analyze|
|000034a0| 2d 62 75 66 66 65 72 20 | 65 72 72 6f 72 20 22 54 |-buffer |error "T|
|000034b0| 68 69 73 20 62 75 66 66 | 65 72 20 69 73 20 6e 6f |his buff|er is no|
|000034c0| 74 20 69 6e 20 44 65 63 | 69 70 68 65 72 20 6d 6f |t in Dec|ipher mo|
|000034d0| 64 65 22 5d 20 32 20 28 | 23 24 20 2e 20 31 33 32 |de"] 2 (|#$ . 132|
|000034e0| 33 34 29 5d 29 0a 23 40 | 32 34 36 20 44 69 73 70 |34)]).#@|246 Disp|
|000034f0| 6c 61 79 20 74 65 78 74 | 20 62 65 74 77 65 65 6e |lay text| between|
|00003500| 20 53 54 41 52 54 20 61 | 6e 64 20 45 4e 44 20 69 | START a|nd END i|
|00003510| 6e 20 74 68 65 20 73 74 | 61 74 69 73 74 69 63 73 |n the st|atistics|
|00003520| 20 62 75 66 66 65 72 2e | 0a 53 54 41 52 54 20 61 | buffer.|.START a|
|00003530| 6e 64 20 45 4e 44 20 61 | 72 65 20 70 6f 73 69 74 |nd END a|re posit|
|00003540| 69 6f 6e 73 20 69 6e 20 | 74 68 65 20 73 74 61 74 |ions in |the stat|
|00003550| 69 73 74 69 63 73 20 62 | 75 66 66 65 72 2e 20 20 |istics b|uffer. |
|00003560| 4d 61 6b 65 73 20 74 68 | 65 0a 73 74 61 74 69 73 |Makes th|e.statis|
|00003570| 74 69 63 73 20 62 75 66 | 66 65 72 20 76 69 73 69 |tics buf|fer visi|
|00003580| 62 6c 65 20 61 6e 64 20 | 73 69 7a 65 73 20 74 68 |ble and |sizes th|
|00003590| 65 20 77 69 6e 64 6f 77 | 20 74 6f 20 6a 75 73 74 |e window| to just|
|000035a0| 20 66 69 74 20 74 68 65 | 0a 64 69 73 70 6c 61 79 | fit the|.display|
|000035b0| 65 64 20 74 65 78 74 2c | 20 62 75 74 20 6c 65 61 |ed text,| but lea|
|000035c0| 76 65 73 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |ves the |current |
|000035d0| 77 69 6e 64 6f 77 20 73 | 65 6c 65 63 74 65 64 2e |window s|elected.|
|000035e0| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 64 65 63 |..(defal|ias 'dec|
|000035f0| 69 70 68 65 72 2d 64 69 | 73 70 6c 61 79 2d 72 61 |ipher-di|splay-ra|
|00003600| 6e 67 65 20 23 5b 28 73 | 74 61 72 74 20 65 6e 64 |nge #[(s|tart end|
|00003610| 29 20 22 c0 20 c1 20 c2 | 1b 1c 1d 70 0d 3d 84 12 |) ". . .|...p.=..|
|00003620| 00 c6 0d 21 88 0e 07 62 | 88 c8 c2 21 84 29 00 c9 |...!...b|...!.)..|
|00003630| ca 0e 07 0e 0b 5c 22 54 | cc 20 5a 21 88 cd ce 21 |.....\"T|. Z!...!|
|00003640| 88 cf 5c 66 21 2b 87 22 | 20 5b 64 65 63 69 70 68 |..\f!+."| [deciph|
|00003650| 65 72 2d 73 74 61 74 73 | 2d 62 75 66 66 65 72 20 |er-stats|-buffer |
|00003660| 73 65 6c 65 63 74 65 64 | 2d 77 69 6e 64 6f 77 20 |selected|-window |
|00003670| 74 20 70 6f 70 2d 75 70 | 2d 77 69 6e 64 6f 77 73 |t pop-up|-windows|
|00003680| 20 63 75 72 72 65 6e 74 | 2d 77 69 6e 64 6f 77 20 | current|-window |
|00003690| 73 74 61 74 73 2d 62 75 | 66 66 65 72 20 70 6f 70 |stats-bu|ffer pop|
|000036a0| 2d 74 6f 2d 62 75 66 66 | 65 72 20 73 74 61 72 74 |-to-buff|er start|
|000036b0| 20 6f 6e 65 2d 77 69 6e | 64 6f 77 2d 70 20 65 6e | one-win|dow-p en|
|000036c0| 6c 61 72 67 65 2d 77 69 | 6e 64 6f 77 20 63 6f 75 |large-wi|ndow cou|
|000036d0| 6e 74 2d 6c 69 6e 65 73 | 20 65 6e 64 20 77 69 6e |nt-lines| end win|
|000036e0| 64 6f 77 2d 68 65 69 67 | 68 74 20 72 65 63 65 6e |dow-heig|ht recen|
|000036f0| 74 65 72 20 30 20 73 65 | 6c 65 63 74 2d 77 69 6e |ter 0 se|lect-win|
|00003700| 64 6f 77 5d 20 34 20 28 | 23 24 20 2e 20 31 33 35 |dow] 4 (|#$ . 135|
|00003710| 34 38 29 5d 29 0a 23 40 | 32 33 35 20 44 69 73 70 |48)]).#@|235 Disp|
|00003720| 6c 61 79 20 74 65 78 74 | 20 62 65 74 77 65 65 6e |lay text| between|
|00003730| 20 74 77 6f 20 72 65 67 | 65 78 70 73 20 69 6e 20 | two reg|exps in |
|00003740| 74 68 65 20 73 74 61 74 | 69 73 74 69 63 73 20 62 |the stat|istics b|
|00003750| 75 66 66 65 72 2e 0a 0a | 53 54 41 52 54 2d 52 45 |uffer...|START-RE|
|00003760| 47 45 58 50 20 6d 61 74 | 63 68 65 73 20 74 68 65 |GEXP mat|ches the|
|00003770| 20 66 69 72 73 74 20 6c | 69 6e 65 20 74 6f 20 64 | first l|ine to d|
|00003780| 69 73 70 6c 61 79 2e 0a | 45 4e 44 2d 52 45 47 45 |isplay..|END-REGE|
|00003790| 58 50 20 6d 61 74 63 68 | 65 73 20 74 68 65 20 6c |XP match|es the l|
|000037a0| 69 6e 65 20 61 66 74 65 | 72 20 74 68 61 74 20 77 |ine afte|r that w|
|000037b0| 68 69 63 68 20 65 6e 64 | 73 20 74 68 65 20 64 69 |hich end|s the di|
|000037c0| 73 70 6c 61 79 2e 0a 54 | 68 65 20 65 6e 64 69 6e |splay..T|he endin|
|000037d0| 67 20 6c 69 6e 65 20 69 | 73 20 69 6e 63 6c 75 64 |g line i|s includ|
|000037e0| 65 64 20 69 6e 20 74 68 | 65 20 64 69 73 70 6c 61 |ed in th|e displa|
|000037f0| 79 20 75 6e 6c 65 73 73 | 20 69 74 20 69 73 20 62 |y unless| it is b|
|00003800| 6c 61 6e 6b 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |lank...(|defalias|
|00003810| 20 27 64 65 63 69 70 68 | 65 72 2d 64 69 73 70 6c | 'deciph|er-displ|
|00003820| 61 79 2d 72 65 67 65 78 | 70 20 23 5b 28 73 74 61 |ay-regex|p #[(sta|
|00003830| 72 74 2d 72 65 67 65 78 | 70 20 65 6e 64 2d 72 65 |rt-regex|p end-re|
|00003840| 67 65 78 70 29 20 22 c0 | 89 19 1a 8a c3 20 71 88 |gexp) ".|..... q.|
|00003850| 65 62 88 c4 0d 21 88 c6 | 79 88 60 12 c4 0e 07 21 |eb...!..|y.`....!|
|00003860| 88 c6 79 88 c8 c9 21 84 | 26 00 ca 79 88 60 11 29 |..y...!.|&..y.`.)|
|00003870| cb 5c 6e 09 5c 22 2a 87 | 22 20 5b 6e 69 6c 20 65 |.\n.\"*.|" [nil e|
|00003880| 6e 64 20 73 74 61 72 74 | 20 64 65 63 69 70 68 65 |nd start| deciphe|
|00003890| 72 2d 73 74 61 74 73 2d | 62 75 66 66 65 72 20 72 |r-stats-|buffer r|
|000038a0| 65 2d 73 65 61 72 63 68 | 2d 66 6f 72 77 61 72 64 |e-search|-forward|
|000038b0| 20 73 74 61 72 74 2d 72 | 65 67 65 78 70 20 30 20 | start-r|egexp 0 |
|000038c0| 65 6e 64 2d 72 65 67 65 | 78 70 20 6c 6f 6f 6b 69 |end-rege|xp looki|
|000038d0| 6e 67 2d 61 74 20 22 5e | 20 2a 24 22 20 31 20 64 |ng-at "^| *$" 1 d|
|000038e0| 65 63 69 70 68 65 72 2d | 64 69 73 70 6c 61 79 2d |ecipher-|display-|
|000038f0| 72 61 6e 67 65 5d 20 33 | 20 28 23 24 20 2e 20 31 |range] 3| (#$ . 1|
|00003900| 34 31 30 38 29 5d 29 0a | 23 40 34 33 39 20 4c 6f |4108)]).|#@439 Lo|
|00003910| 6f 70 20 74 68 72 6f 75 | 67 68 20 63 69 70 68 65 |op throu|gh ciphe|
|00003920| 72 74 65 78 74 2c 20 63 | 61 6c 6c 69 6e 67 20 46 |rtext, c|alling F|
|00003930| 55 4e 43 20 6f 6e 63 65 | 20 66 6f 72 20 65 61 63 |UNC once| for eac|
|00003940| 68 20 6c 65 74 74 65 72 | 20 26 20 77 6f 72 64 20 |h letter| & word |
|00003950| 64 69 76 69 73 69 6f 6e | 2e 0a 0a 46 55 4e 43 20 |division|...FUNC |
|00003960| 69 73 20 63 61 6c 6c 65 | 64 20 77 69 74 68 20 6e |is calle|d with n|
|00003970| 6f 20 61 72 67 75 6d 65 | 6e 74 73 2c 20 61 6e 64 |o argume|nts, and|
|00003980| 20 69 74 73 20 72 65 74 | 75 72 6e 20 76 61 6c 75 | its ret|urn valu|
|00003990| 65 20 69 73 20 75 6e 69 | 6d 70 6f 72 74 61 6e 74 |e is uni|mportant|
|000039a0| 2e 0a 49 74 20 6d 61 79 | 20 65 78 61 6d 69 6e 65 |..It may| examine|
|000039b0| 20 60 64 65 63 69 70 68 | 65 72 2d 63 68 61 72 27 | `deciph|er-char'|
|000039c0| 20 74 6f 20 73 65 65 20 | 74 68 65 20 63 75 72 72 | to see |the curr|
|000039d0| 65 6e 74 20 63 69 70 68 | 65 72 74 65 78 74 0a 63 |ent ciph|ertext.c|
|000039e0| 68 61 72 61 63 74 65 72 | 2e 20 20 60 64 65 63 69 |haracter|. `deci|
|000039f0| 70 68 65 72 2d 63 68 61 | 72 27 20 63 6f 6e 74 61 |pher-cha|r' conta|
|00003a00| 69 6e 73 20 65 69 74 68 | 65 72 20 61 6e 20 75 70 |ins eith|er an up|
|00003a10| 70 65 72 63 61 73 65 20 | 6c 65 74 74 65 72 20 6f |percase |letter o|
|00003a20| 72 20 61 20 73 70 61 63 | 65 2e 0a 0a 46 55 4e 43 |r a spac|e...FUNC|
|00003a30| 20 69 73 20 63 61 6c 6c | 65 64 20 65 78 61 63 74 | is call|ed exact|
|00003a40| 6c 79 20 6f 6e 63 65 20 | 62 65 74 77 65 65 6e 20 |ly once |between |
|00003a50| 77 6f 72 64 73 2c 20 77 | 69 74 68 20 60 64 65 63 |words, w|ith `dec|
|00003a60| 69 70 68 65 72 2d 63 68 | 61 72 27 20 73 65 74 20 |ipher-ch|ar' set |
|00003a70| 74 6f 0a 61 20 73 70 61 | 63 65 2e 0a 0a 53 65 65 |to.a spa|ce...See|
|00003a80| 20 60 64 65 63 69 70 68 | 65 72 2d 6c 6f 6f 70 2d | `deciph|er-loop-|
|00003a90| 6e 6f 2d 62 72 65 61 6b | 73 27 20 69 66 20 79 6f |no-break|s' if yo|
|00003aa0| 75 20 64 6f 20 6e 6f 74 | 20 63 61 72 65 20 61 62 |u do not| care ab|
|00003ab0| 6f 75 74 20 77 6f 72 64 | 20 64 69 76 69 73 69 6f |out word| divisio|
|00003ac0| 6e 73 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |ns...(de|falias '|
|00003ad0| 64 65 63 69 70 68 65 72 | 2d 6c 6f 6f 70 2d 77 69 |decipher|-loop-wi|
|00003ae0| 74 68 2d 62 72 65 61 6b | 73 20 23 5b 28 66 75 6e |th-break|s #[(fun|
|00003af0| 63 29 20 22 c0 89 19 1a | 8a 65 62 88 0b 20 88 c4 |c) "....|.eb.. ..|
|00003b00| c5 c6 c7 23 85 4f 00 6c | 84 3f 00 67 96 89 12 c8 |...#.O.l|.?.g....|
|00003b10| 59 83 26 00 5c 6e c9 58 | 84 28 00 c0 12 5c 6e c0 |Y.&.\n.X|.(...\n.|
|00003b20| 9a 83 34 00 09 c0 9a 84 | 37 00 0b 20 88 5c 6e 11 |..4.....|7.. .\n.|
|00003b30| c6 75 88 82 13 00 5c 6e | c0 9a 84 0b 00 c0 12 c0 |.u....\n|........|
|00003b40| 11 0b 20 88 82 0b 00 2b | 87 22 20 5b 33 32 20 64 |.. ....+|." [32 d|
|00003b50| 65 63 69 70 68 65 72 2d | 2d 6c 6f 6f 70 2d 70 72 |ecipher-|-loop-pr|
|00003b60| 65 76 2d 63 68 61 72 20 | 64 65 63 69 70 68 65 72 |ev-char |decipher|
|00003b70| 2d 63 68 61 72 20 66 75 | 6e 63 20 73 65 61 72 63 |-char fu|nc searc|
|00003b80| 68 2d 66 6f 72 77 61 72 | 64 2d 72 65 67 65 78 70 |h-forwar|d-regexp|
|00003b90| 20 22 5e 3a 22 20 6e 69 | 6c 20 74 20 36 35 20 39 | "^:" ni|l t 65 9|
|00003ba0| 30 5d 20 35 20 28 23 24 | 20 2e 20 31 34 36 30 36 |0] 5 (#$| . 14606|
|00003bb0| 29 5d 29 0a 23 40 33 37 | 30 20 4c 6f 6f 70 20 74 |)]).#@37|0 Loop t|
|00003bc0| 68 72 6f 75 67 68 20 63 | 69 70 68 65 72 74 65 78 |hrough c|iphertex|
|00003bd0| 74 2c 20 63 61 6c 6c 69 | 6e 67 20 46 55 4e 43 20 |t, calli|ng FUNC |
|00003be0| 6f 6e 63 65 20 66 6f 72 | 20 65 61 63 68 20 6c 65 |once for| each le|
|00003bf0| 74 74 65 72 2e 0a 0a 46 | 55 4e 43 20 69 73 20 63 |tter...F|UNC is c|
|00003c00| 61 6c 6c 65 64 20 77 69 | 74 68 20 6e 6f 20 61 72 |alled wi|th no ar|
|00003c10| 67 75 6d 65 6e 74 73 2c | 20 61 6e 64 20 69 74 73 |guments,| and its|
|00003c20| 20 72 65 74 75 72 6e 20 | 76 61 6c 75 65 20 69 73 | return |value is|
|00003c30| 20 75 6e 69 6d 70 6f 72 | 74 61 6e 74 2e 0a 49 74 | unimpor|tant..It|
|00003c40| 20 6d 61 79 20 65 78 61 | 6d 69 6e 65 20 60 64 65 | may exa|mine `de|
|00003c50| 63 69 70 68 65 72 2d 63 | 68 61 72 27 20 74 6f 20 |cipher-c|har' to |
|00003c60| 73 65 65 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |see the |current |
|00003c70| 63 69 70 68 65 72 74 65 | 78 74 20 6c 65 74 74 65 |cipherte|xt lette|
|00003c80| 72 2e 0a 60 64 65 63 69 | 70 68 65 72 2d 63 68 61 |r..`deci|pher-cha|
|00003c90| 72 27 20 63 6f 6e 74 61 | 69 6e 73 20 61 6e 20 75 |r' conta|ins an u|
|00003ca0| 70 70 65 72 63 61 73 65 | 20 6c 65 74 74 65 72 2e |ppercase| letter.|
|00003cb0| 0a 0a 50 75 6e 63 74 75 | 61 74 69 6f 6e 20 61 6e |..Punctu|ation an|
|00003cc0| 64 20 73 70 61 63 69 6e | 67 20 69 6e 20 74 68 65 |d spacin|g in the|
|00003cd0| 20 63 69 70 68 65 72 74 | 65 78 74 20 61 72 65 20 | ciphert|ext are |
|00003ce0| 69 67 6e 6f 72 65 64 2e | 0a 53 65 65 20 60 64 65 |ignored.|.See `de|
|00003cf0| 63 69 70 68 65 72 2d 6c | 6f 6f 70 2d 77 69 74 68 |cipher-l|oop-with|
|00003d00| 2d 62 72 65 61 6b 73 27 | 20 69 66 20 79 6f 75 20 |-breaks'| if you |
|00003d10| 63 61 72 65 20 61 62 6f | 75 74 20 77 6f 72 64 20 |care abo|ut word |
|00003d20| 64 69 76 69 73 69 6f 6e | 73 2e 1f 0a 28 64 65 66 |division|s...(def|
|00003d30| 61 6c 69 61 73 20 27 64 | 65 63 69 70 68 65 72 2d |alias 'd|ecipher-|
|00003d40| 6c 6f 6f 70 2d 6e 6f 2d | 62 72 65 61 6b 73 20 23 |loop-no-|breaks #|
|00003d50| 5b 28 66 75 6e 63 29 20 | 22 c0 19 8a 65 62 88 c2 |[(func) |"...eb..|
|00003d60| c3 c0 c4 23 85 2b 00 6c | 84 06 00 67 96 89 11 c5 |...#.+.l|...g....|
|00003d70| 59 83 25 00 09 c6 58 83 | 25 00 0e 07 20 88 c0 75 |Y.%...X.|%... ..u|
|00003d80| 88 82 0e 00 2a 87 22 20 | 5b 6e 69 6c 20 64 65 63 |....*." |[nil dec|
|00003d90| 69 70 68 65 72 2d 63 68 | 61 72 20 73 65 61 72 63 |ipher-ch|ar searc|
|00003da0| 68 2d 66 6f 72 77 61 72 | 64 2d 72 65 67 65 78 70 |h-forwar|d-regexp|
|00003db0| 20 22 5e 3a 22 20 74 20 | 36 35 20 39 30 20 66 75 | "^:" t |65 90 fu|
|00003dc0| 6e 63 5d 20 35 20 28 23 | 24 20 2e 20 31 35 32 39 |nc] 5 (#|$ . 1529|
|00003dd0| 30 29 5d 29 0a 23 40 31 | 35 35 20 49 6e 73 65 72 |0)]).#@1|55 Inser|
|00003de0| 74 20 66 72 65 71 75 65 | 6e 63 79 20 63 6f 75 6e |t freque|ncy coun|
|00003df0| 74 73 20 69 6e 20 63 75 | 72 72 65 6e 74 20 62 75 |ts in cu|rrent bu|
|00003e00| 66 66 65 72 2e 0a 45 61 | 63 68 20 65 6c 65 6d 65 |ffer..Ea|ch eleme|
|00003e10| 6e 74 20 6f 66 20 46 52 | 45 51 2d 4c 49 53 54 20 |nt of FR|EQ-LIST |
|00003e20| 69 73 20 61 20 6c 69 73 | 74 20 28 4c 45 54 54 45 |is a lis|t (LETTE|
|00003e30| 52 20 46 52 45 51 20 2e | 2e 2e 29 2e 0a 54 4f 54 |R FREQ .|..)..TOT|
|00003e40| 41 4c 20 69 73 20 74 68 | 65 20 74 6f 74 61 6c 20 |AL is th|e total |
|00003e50| 6e 75 6d 62 65 72 20 6f | 66 20 6c 65 74 74 65 72 |number o|f letter|
|00003e60| 73 20 69 6e 20 74 68 65 | 20 63 69 70 68 65 72 74 |s in the| ciphert|
|00003e70| 65 78 74 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |ext...(d|efalias |
|00003e80| 27 64 65 63 69 70 68 65 | 72 2d 69 6e 73 65 72 74 |'deciphe|r-insert|
|00003e90| 2d 66 72 65 71 75 65 6e | 63 79 2d 63 6f 75 6e 74 |-frequen|cy-count|
|00003ea0| 73 20 23 5b 28 66 72 65 | 71 2d 6c 69 73 74 20 74 |s #[(fre|q-list t|
|00003eb0| 6f 74 61 6c 29 20 22 c0 | c1 1a 89 1b c4 56 85 3b |otal) ".|.....V.;|
|00003ec0| 00 0d 89 12 83 2e 00 5c | 6e 40 40 c6 c7 5c 6e 40 |.......\|n@@..\n@|
|00003ed0| 41 40 5c 6e 40 41 40 c8 | 5f 0e 09 a5 23 b1 02 88 |A@\n@A@.|_...#...|
|00003ee0| c0 5c 6e 9b 89 12 84 10 | 00 ca 63 88 0d 41 15 0b |.\n.....|..c..A..|
|00003ef0| 53 89 13 82 05 00 2a 87 | 22 20 5b 34 20 6e 69 6c |S.....*.|" [4 nil|
|00003f00| 20 74 65 6d 70 2d 6c 69 | 73 74 20 69 20 30 20 66 | temp-li|st i 0 f|
|00003f10| 72 65 71 2d 6c 69 73 74 | 20 66 6f 72 6d 61 74 20 |req-list| format |
|00003f20| 22 25 34 64 25 33 64 25 | 25 20 20 22 20 31 30 30 |"%4d%3d%|% " 100|
|00003f30| 20 74 6f 74 61 6c 20 31 | 30 5d 20 37 20 28 23 24 | total 1|0] 7 (#$|
|00003f40| 20 2e 20 31 35 38 33 35 | 29 5d 29 0a 28 64 65 66 | . 15835|)]).(def|
|00003f50| 61 6c 69 61 73 20 27 64 | 65 63 69 70 68 65 72 2d |alias 'd|ecipher-|
|00003f60| 2d 61 6e 61 6c 79 7a 65 | 20 23 5b 6e 69 6c 20 22 |-analyze| #[nil "|
|00003f70| c0 c1 5c 6e 0b 23 14 c5 | 5c 66 0e 06 5c 22 86 18 |..\n.#..|\f..\"..|
|00003f80| 00 5c 66 c7 42 0e 06 42 | 89 16 06 40 89 1e 08 89 |.\f.B..B|...@....|
|00003f90| 41 c9 5c 5c a1 88 29 5c | 6e ca 59 83 53 00 0e 0b |A.\\..)\|n.Y.S...|
|00003fa0| 5c 6e ca 5a 48 0b cc 9a | 83 38 00 cd 82 3b 00 0b |\n.ZH...|.8...;..|
|00003fb0| ca 5a 0e 0b 5c 6e ca 5a | 48 0b cc 9a 83 4b 00 cd |.Z..\n.Z|H....K..|
|00003fc0| 82 4e 00 0b ca 5a 48 c9 | 5c 5c 49 88 0b ca 59 83 |.N...ZH.|\\I...Y.|
|00003fd0| 96 00 0e 0e 0b ca 5a 0e | 0e 0b ca 5a 48 c9 5c 5c |......Z.|...ZH.\\|
|00003fe0| 49 28 83 96 00 0e 0f 0b | ca 5a 48 5c 6e cc 9a 83 |I(......|.ZH\n...|
|00003ff0| 7b 00 cd 82 7e 00 5c 6e | ca 5a 0e 0f 0b ca 5a 48 |{...~.\n|.Z....ZH|
|00004000| 5c 6e cc 9a 83 8e 00 cd | 82 91 00 5c 6e ca 5a 48 |\n......|...\n.ZH|
|00004010| c9 5c 5c 49 88 0b 89 12 | 87 22 20 5b 66 6f 72 6d |.\\I....|." [form|
|00004020| 61 74 20 22 25 63 25 63 | 22 20 64 65 63 69 70 68 |at "%c%c|" deciph|
|00004030| 65 72 2d 2d 70 72 65 76 | 2d 63 68 61 72 20 64 65 |er--prev|-char de|
|00004040| 63 69 70 68 65 72 2d 63 | 68 61 72 20 64 65 63 69 |cipher-c|har deci|
|00004050| 70 68 65 72 2d 2d 64 69 | 67 72 61 6d 20 61 73 73 |pher--di|gram ass|
|00004060| 6f 63 20 64 65 63 69 70 | 68 65 72 2d 2d 64 69 67 |oc decip|her--dig|
|00004070| 72 61 6d 2d 6c 69 73 74 | 20 30 20 47 33 34 39 30 |ram-list| 0 G3490|
|00004080| 30 20 31 20 36 35 20 64 | 65 63 69 70 68 65 72 2d |0 1 65 d|ecipher-|
|00004090| 2d 62 65 66 6f 72 65 20 | 33 32 20 32 36 20 64 65 |-before |32 26 de|
|000040a0| 63 69 70 68 65 72 2d 2d | 66 72 65 71 73 20 64 65 |cipher--|freqs de|
|000040b0| 63 69 70 68 65 72 2d 2d | 61 66 74 65 72 5d 20 36 |cipher--|after] 6|
|000040c0| 5d 29 0a 23 40 34 34 20 | 47 65 6e 65 72 61 74 65 |]).#@44 |Generate|
|000040d0| 20 74 68 65 20 63 6f 75 | 6e 74 73 20 66 6f 72 20 | the cou|nts for |
|000040e0| 61 6e 20 61 64 6a 61 63 | 65 6e 63 79 20 6c 69 73 |an adjac|ency lis|
|000040f0| 74 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 64 |t...(def|alias 'd|
|00004100| 65 63 69 70 68 65 72 2d | 2d 64 69 67 72 61 6d 2d |ecipher-|-digram-|
|00004110| 63 6f 75 6e 74 73 20 23 | 5b 28 63 6f 75 6e 74 73 |counts #|[(counts|
|00004120| 29 20 22 c0 19 c2 c3 5c | 66 c5 23 c6 c7 5c 66 c8 |) "....\|f.#..\f.|
|00004130| 48 c0 56 83 16 00 09 53 | 82 17 00 09 5c 22 50 29 |H.V....S|....\"P)|
|00004140| 87 22 20 5b 30 20 74 6f | 74 61 6c 20 6d 61 70 63 |." [0 to|tal mapc|
|00004150| 6f 6e 63 61 74 20 23 5b | 28 78 29 20 22 08 c1 56 |oncat #[|(x) "..V|
|00004160| 83 0b 00 5c 6e 54 12 c3 | 87 08 c4 56 83 19 00 5c |...\nT..|...V...\|
|00004170| 6e 54 12 c5 c6 08 5c 22 | 87 c7 87 22 20 5b 78 20 |nT....\"|..." [x |
|00004180| 39 39 20 74 6f 74 61 6c | 20 22 58 58 22 20 30 20 |99 total| "XX" 0 |
|00004190| 66 6f 72 6d 61 74 20 22 | 25 32 64 22 20 22 20 20 |format "|%2d" " |
|000041a0| 22 5d 20 33 5d 20 63 6f | 75 6e 74 73 20 22 22 20 |"] 3] co|unts "" |
|000041b0| 66 6f 72 6d 61 74 20 22 | 25 34 64 22 20 32 36 5d |format "|%4d" 26]|
|000041c0| 20 35 20 28 23 24 20 2e | 20 31 36 35 38 34 29 5d | 5 (#$ .| 16584)]|
|000041d0| 29 0a 23 40 36 35 20 43 | 6f 75 6e 74 20 74 68 65 |).#@65 C|ount the|
|000041e0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 64 69 66 66 65 | number |of diffe|
|000041f0| 72 65 6e 74 20 6c 65 74 | 74 65 72 73 20 61 20 6c |rent let|ters a l|
|00004200| 65 74 74 65 72 20 61 70 | 70 65 61 72 73 20 6e 65 |etter ap|pears ne|
|00004210| 78 74 20 74 6f 2e 1f 0a | 28 64 65 66 61 6c 69 61 |xt to...|(defalia|
|00004220| 73 20 27 64 65 63 69 70 | 68 65 72 2d 2d 64 69 67 |s 'decip|her--dig|
|00004230| 72 61 6d 2d 74 6f 74 61 | 6c 20 23 5b 28 62 65 66 |ram-tota|l #[(bef|
|00004240| 6f 72 65 2d 63 6f 75 6e | 74 20 61 66 74 65 72 2d |ore-coun|t after-|
|00004250| 63 6f 75 6e 74 29 20 22 | c0 c1 1a 1b 5c 6e 53 89 |count) "|....\nS.|
|00004260| 12 c0 59 83 23 00 5c 66 | 5c 6e 48 c0 56 84 1d 00 |..Y.#.\f|\nH.V...|
|00004270| 0d 5c 6e 48 c0 56 83 04 | 00 0b 54 13 82 04 00 0b |.\nH.V..|..T.....|
|00004280| 2a 87 22 20 5b 30 20 32 | 36 20 69 20 74 6f 74 61 |*." [0 2|6 i tota|
|00004290| 6c 20 62 65 66 6f 72 65 | 2d 63 6f 75 6e 74 20 61 |l before|-count a|
|000042a0| 66 74 65 72 2d 63 6f 75 | 6e 74 5d 20 32 20 28 23 |fter-cou|nt] 2 (#|
|000042b0| 24 20 2e 20 31 36 38 35 | 35 29 5d 29 0a 23 40 31 |$ . 1685|5)]).#@1|
|000042c0| 31 39 20 50 65 72 66 6f | 72 6d 20 66 72 65 71 75 |19 Perfo|rm frequ|
|000042d0| 65 6e 63 79 20 61 6e 61 | 6c 79 73 69 73 20 61 6e |ency ana|lysis an|
|000042e0| 64 20 73 74 6f 72 65 20 | 72 65 73 75 6c 74 73 20 |d store |results |
|000042f0| 69 6e 20 73 74 61 74 69 | 73 74 69 63 73 20 62 75 |in stati|stics bu|
|00004300| 66 66 65 72 2e 0a 43 72 | 65 61 74 65 73 20 74 68 |ffer..Cr|eates th|
|00004310| 65 20 73 74 61 74 69 73 | 74 69 63 73 20 62 75 66 |e statis|tics buf|
|00004320| 66 65 72 20 69 66 20 69 | 74 20 64 6f 65 73 6e 27 |fer if i|t doesn'|
|00004330| 74 20 65 78 69 73 74 2e | 1f 0a 28 64 65 66 61 6c |t exist.|..(defal|
|00004340| 69 61 73 20 27 64 65 63 | 69 70 68 65 72 2d 61 6e |ias 'dec|ipher-an|
|00004350| 61 6c 79 7a 65 2d 62 75 | 66 66 65 72 20 23 5b 6e |alyze-bu|ffer #[n|
|00004360| 69 6c 20 22 08 83 08 00 | c1 82 09 00 c2 c3 c4 c5 |il "....|........|
|00004370| 5c 22 c3 c4 c5 5c 22 c3 | c4 c6 5c 22 c6 c5 89 89 |\"...\".|..\"....|
|00004380| 1e 07 1e 08 1e 09 1e 5c | 6e 1e 0b 1e 5c 66 1e 0d |.......\|n...\f..|
|00004390| 1e 0e cf d0 21 88 c4 1e | 11 0e 11 53 89 16 11 c6 |....!...|...S....|
|000043a0| 59 83 52 00 0e 0d 0e 11 | c3 d2 c6 5c 22 49 88 0e |Y.R.....|...\"I..|
|000043b0| 5c 66 0e 11 c3 d2 c6 5c | 22 49 88 82 30 00 29 08 |\f.....\|"I..0.).|
|000043c0| 83 79 00 d3 d4 21 88 c4 | 1e 11 0e 11 53 89 16 11 |.y...!..|....S...|
|000043d0| c6 59 83 75 00 0e 5c 66 | 0e 11 48 c4 c6 49 88 82 |.Y.u..\f|..H..I..|
|000043e0| 5e 00 29 82 7d 00 d5 d4 | 21 88 cf d6 21 88 d7 0e |^.).}...|!...!...|
|000043f0| 08 d8 5c 22 c5 a1 88 d9 | 89 0e 08 da 5c 22 db 5c |..\"....|....\".\|
|00004400| 22 16 08 c4 1e 11 0e 11 | 53 89 16 11 c6 59 83 c9 |".......|S....Y..|
|00004410| 00 0e 11 dc 5c 5c 0e 0b | 0e 11 48 dd 0e 0d 0e 11 |....\\..|..H.....|
|00004420| 48 0e 5c 66 0e 11 48 5c | 22 45 0e 07 42 16 07 0e |H.\f..H\|"E..B...|
|00004430| 5c 6e 0e 0b 0e 11 48 5c | 5c 16 5c 6e 82 96 00 29 |\n....H\|\.\n...)|
|00004440| 8a de df 21 71 88 0e 20 | e1 3d 84 dd 00 e2 e3 e4 |...!q.. |.=......|
|00004450| 20 5c 22 88 c5 16 25 e6 | 20 88 e7 0e 07 0e 5c 6e | \"...%.| .....\n|
|00004460| 5c 22 88 e8 63 88 d9 0e | 07 e9 5c 22 16 07 e7 0e |\"..c...|..\"....|
|00004470| 07 0e 5c 6e 5c 22 88 e8 | ea eb 0e 07 c5 23 ec b1 |..\n\"..|.....#..|
|00004480| 03 88 ed 0e 08 47 ee 5c | 5c e8 5c 22 89 1e 2f 1e |.....G.\|\.\"../.|
|00004490| 11 c5 1e 30 0e 11 c6 56 | 83 52 01 0e 08 89 16 30 |...0...V|.R.....0|
|000044a0| 83 3e 01 0e 30 40 40 f1 | f2 0e 30 40 41 5c 22 b1 |.>..0@@.|..0@A\".|
|000044b0| 02 88 0e 2f 0e 30 9b 89 | 16 30 84 25 01 f3 20 88 |.../.0..|.0.%.. .|
|000044c0| e8 63 88 0e 08 41 16 08 | 0e 11 53 89 16 11 82 18 |.c...A..|..S.....|
|000044d0| 01 2b d9 0e 07 f4 5c 22 | 89 16 07 c5 89 1e 11 1e |.+....\"|........|
|000044e0| 35 1e 30 0e 30 89 41 16 | 30 40 89 16 35 83 b1 01 |5.0.0.A.|0@..5...|
|000044f0| 0e 35 41 40 c6 9a 84 63 | 01 0e 35 40 dc 5a 16 11 |.5A@...c|..5@.Z..|
|00004500| e8 f6 f7 0e 0d 0e 11 48 | 21 e8 0e 35 40 f8 f1 f9 |.......H|!..5@...|
|00004510| 0e 35 41 41 40 0e 35 41 | 40 0e 35 41 40 fa 5f 0e |.5AA@.5A|@.5A@._.|
|00004520| 5c 6e a5 24 f7 0e 5c 66 | 0e 11 48 21 e8 b1 09 88 |\n.$..\f|..H!....|
|00004530| 82 63 01 2b df 16 25 fb | c5 21 88 2e 09 cf c5 21 |.c.+..%.|.!.....!|
|00004540| 87 22 20 5b 64 65 63 69 | 70 68 65 72 2d 69 67 6e |." [deci|pher-ign|
|00004550| 6f 72 65 2d 73 70 61 63 | 65 73 20 33 32 20 34 32 |ore-spac|es 32 42|
|00004560| 20 6d 61 6b 65 2d 76 65 | 63 74 6f 72 20 32 36 20 | make-ve|ctor 26 |
|00004570| 6e 69 6c 20 30 20 66 72 | 65 71 2d 6c 69 73 74 20 |nil 0 fr|eq-list |
|00004580| 64 65 63 69 70 68 65 72 | 2d 2d 64 69 67 72 61 6d |decipher|--digram|
|00004590| 2d 6c 69 73 74 20 64 65 | 63 69 70 68 65 72 2d 2d |-list de|cipher--|
|000045a0| 64 69 67 72 61 6d 20 74 | 6f 74 61 6c 2d 63 68 61 |digram t|otal-cha|
|000045b0| 72 73 20 64 65 63 69 70 | 68 65 72 2d 2d 66 72 65 |rs decip|her--fre|
|000045c0| 71 73 20 64 65 63 69 70 | 68 65 72 2d 2d 61 66 74 |qs decip|her--aft|
|000045d0| 65 72 20 64 65 63 69 70 | 68 65 72 2d 2d 62 65 66 |er decip|her--bef|
|000045e0| 6f 72 65 20 64 65 63 69 | 70 68 65 72 2d 2d 70 72 |ore deci|pher--pr|
|000045f0| 65 76 2d 63 68 61 72 20 | 6d 65 73 73 61 67 65 20 |ev-char |message |
|00004600| 22 53 63 61 6e 6e 69 6e | 67 20 62 75 66 66 65 72 |"Scannin|g buffer|
|00004610| 2e 2e 2e 22 20 69 20 32 | 37 20 64 65 63 69 70 68 |..." i 2|7 deciph|
|00004620| 65 72 2d 6c 6f 6f 70 2d | 6e 6f 2d 62 72 65 61 6b |er-loop-|no-break|
|00004630| 73 20 64 65 63 69 70 68 | 65 72 2d 2d 61 6e 61 6c |s deciph|er--anal|
|00004640| 79 7a 65 20 64 65 63 69 | 70 68 65 72 2d 6c 6f 6f |yze deci|pher-loo|
|00004650| 70 2d 77 69 74 68 2d 62 | 72 65 61 6b 73 20 22 50 |p-with-b|reaks "P|
|00004660| 72 6f 63 65 73 73 69 6e | 67 20 72 65 73 75 6c 74 |rocessin|g result|
|00004670| 73 2e 2e 2e 22 20 6c 61 | 73 74 20 32 20 73 6f 72 |s..." la|st 2 sor|
|00004680| 74 20 23 5b 28 61 20 62 | 29 20 22 08 40 09 40 99 |t #[(a b|) ".@.@.|
|00004690| 87 22 20 5b 61 20 62 5d | 20 32 5d 20 23 5b 28 61 |." [a b]| 2] #[(a|
|000046a0| 20 62 29 20 22 08 41 09 | 41 56 87 22 20 5b 61 20 | b) ".A.|AV." [a |
|000046b0| 62 5d 20 32 5d 20 36 35 | 20 64 65 63 69 70 68 65 |b] 2] 65| deciphe|
|000046c0| 72 2d 2d 64 69 67 72 61 | 6d 2d 74 6f 74 61 6c 20 |r--digra|m-total |
|000046d0| 64 65 63 69 70 68 65 72 | 2d 73 74 61 74 73 2d 62 |decipher|-stats-b|
|000046e0| 75 66 66 65 72 20 74 20 | 6d 61 6a 6f 72 2d 6d 6f |uffer t |major-mo|
|000046f0| 64 65 20 64 65 63 69 70 | 68 65 72 2d 73 74 61 74 |de decip|her-stat|
|00004700| 73 2d 6d 6f 64 65 20 65 | 72 72 6f 72 20 22 42 75 |s-mode e|rror "Bu|
|00004710| 66 66 65 72 20 25 73 20 | 69 73 20 6e 6f 74 20 69 |ffer %s |is not i|
|00004720| 6e 20 44 65 63 69 70 68 | 65 72 2d 53 74 61 74 73 |n Deciph|er-Stats|
|00004730| 20 6d 6f 64 65 22 20 62 | 75 66 66 65 72 2d 6e 61 | mode" b|uffer-na|
|00004740| 6d 65 20 62 75 66 66 65 | 72 2d 72 65 61 64 2d 6f |me buffe|r-read-o|
|00004750| 6e 6c 79 20 65 72 61 73 | 65 2d 62 75 66 66 65 72 |nly eras|e-buffer|
|00004760| 20 64 65 63 69 70 68 65 | 72 2d 69 6e 73 65 72 74 | deciphe|r-insert|
|00004770| 2d 66 72 65 71 75 65 6e | 63 79 2d 63 6f 75 6e 74 |-frequen|cy-count|
|00004780| 73 20 31 30 20 23 5b 28 | 61 20 62 29 20 22 08 41 |s 10 #[(|a b) ".A|
|00004790| 40 09 41 40 56 87 22 20 | 5b 61 20 62 5d 20 32 5d |@.A@V." |[a b] 2]|
|000047a0| 20 6d 61 70 63 6f 6e 63 | 61 74 20 23 5b 28 61 29 | mapconc|at #[(a)|
|000047b0| 20 22 c0 09 40 21 87 22 | 20 5b 63 68 61 72 2d 74 | "..@!."| [char-t|
|000047c0| 6f 2d 73 74 72 69 6e 67 | 20 61 5d 20 32 5d 20 22 |o-string| a] 2] "|
|000047d0| 5c 6e 5c 6e 22 20 66 6c | 6f 6f 72 20 39 20 72 6f |\n\n" fl|oor 9 ro|
|000047e0| 77 73 20 74 65 6d 70 2d | 6c 69 73 74 20 66 6f 72 |ws temp-|list for|
|000047f0| 6d 61 74 20 22 25 33 64 | 20 20 20 22 20 64 65 6c |mat "%3d| " del|
|00004800| 65 74 65 2d 68 6f 72 69 | 7a 6f 6e 74 61 6c 2d 73 |ete-hori|zontal-s|
|00004810| 70 61 63 65 20 23 5b 28 | 61 20 62 29 20 22 08 41 |pace #[(|a b) ".A|
|00004820| 41 40 09 41 41 40 56 87 | 22 20 5b 61 20 62 5d 20 |A@.AA@V.|" [a b] |
|00004830| 32 5d 20 65 6e 74 72 79 | 20 22 20 20 22 20 64 65 |2] entry| " " de|
|00004840| 63 69 70 68 65 72 2d 2d | 64 69 67 72 61 6d 2d 63 |cipher--|digram-c|
|00004850| 6f 75 6e 74 73 20 22 3a | 20 41 20 42 20 43 20 44 |ounts ":| A B C D|
|00004860| 20 45 20 46 20 47 20 48 | 20 49 20 4a 20 4b 20 4c | E F G H| I J K L|
|00004870| 20 4d 20 4e 20 4f 20 50 | 20 51 20 52 20 53 20 54 | M N O P| Q R S T|
|00004880| 20 55 20 56 20 57 20 58 | 20 59 20 5a 20 2a 22 20 | U V W X| Y Z *" |
|00004890| 22 25 34 64 20 25 34 64 | 20 25 33 64 25 25 5c 6e |"%4d %4d| %3d%%\n|
|000048a0| 20 20 22 20 31 30 30 20 | 73 65 74 2d 62 75 66 66 | " 100 |set-buff|
|000048b0| 65 72 2d 6d 6f 64 69 66 | 69 65 64 2d 70 5d 20 31 |er-modif|ied-p] 1|
|000048c0| 33 20 28 23 24 20 2e 20 | 31 37 30 39 31 29 5d 29 |3 (#$ . |17091)])|
|000048d0| 0a 23 40 35 30 20 4d 61 | 6a 6f 72 20 6d 6f 64 65 |.#@50 Ma|jor mode|
|000048e0| 20 66 6f 72 20 64 69 73 | 70 6c 61 79 69 6e 67 20 | for dis|playing |
|000048f0| 63 69 70 68 65 72 74 65 | 78 74 20 73 74 61 74 69 |cipherte|xt stati|
|00004900| 73 74 69 63 73 2e 1f 0a | 28 64 65 66 61 6c 69 61 |stics...|(defalia|
|00004910| 73 20 27 64 65 63 69 70 | 68 65 72 2d 73 74 61 74 |s 'decip|her-stat|
|00004920| 73 2d 6d 6f 64 65 20 23 | 5b 6e 69 6c 20 22 c0 20 |s-mode #|[nil ". |
|00004930| 88 c1 12 c1 13 c4 15 c4 | 16 06 c7 16 08 c9 16 5c |........|.......\|
|00004940| 6e cb 0e 5c 66 21 88 cd | ce 21 87 22 20 5b 6b 69 |n..\f!..|.!." [ki|
|00004950| 6c 6c 2d 61 6c 6c 2d 6c | 6f 63 61 6c 2d 76 61 72 |ll-all-l|ocal-var|
|00004960| 69 61 62 6c 65 73 20 74 | 20 62 75 66 66 65 72 2d |iables t| buffer-|
|00004970| 72 65 61 64 2d 6f 6e 6c | 79 20 62 75 66 66 65 72 |read-onl|y buffer|
|00004980| 2d 75 6e 64 6f 2d 6c 69 | 73 74 20 6e 69 6c 20 63 |-undo-li|st nil c|
|00004990| 61 73 65 2d 66 6f 6c 64 | 2d 73 65 61 72 63 68 20 |ase-fold|-search |
|000049a0| 69 6e 64 65 6e 74 2d 74 | 61 62 73 2d 6d 6f 64 65 |indent-t|abs-mode|
|000049b0| 20 64 65 63 69 70 68 65 | 72 2d 73 74 61 74 73 2d | deciphe|r-stats-|
|000049c0| 6d 6f 64 65 20 6d 61 6a | 6f 72 2d 6d 6f 64 65 20 |mode maj|or-mode |
|000049d0| 22 44 65 63 69 70 68 65 | 72 2d 53 74 61 74 73 22 |"Deciphe|r-Stats"|
|000049e0| 20 6d 6f 64 65 2d 6e 61 | 6d 65 20 75 73 65 2d 6c | mode-na|me use-l|
|000049f0| 6f 63 61 6c 2d 6d 61 70 | 20 64 65 63 69 70 68 65 |ocal-map| deciphe|
|00004a00| 72 2d 73 74 61 74 73 2d | 6d 6f 64 65 2d 6d 61 70 |r-stats-|mode-map|
|00004a10| 20 72 75 6e 2d 68 6f 6f | 6b 73 20 64 65 63 69 70 | run-hoo|ks decip|
|00004a20| 68 65 72 2d 73 74 61 74 | 73 2d 6d 6f 64 65 2d 68 |her-stat|s-mode-h|
|00004a30| 6f 6f 6b 5d 20 32 20 28 | 23 24 20 2e 20 31 38 36 |ook] 2 (|#$ . 186|
|00004a40| 34 36 29 20 6e 69 6c 5d | 29 0a 28 70 75 74 20 28 |46) nil]|).(put (|
|00004a50| 71 75 6f 74 65 20 64 65 | 63 69 70 68 65 72 2d 73 |quote de|cipher-s|
|00004a60| 74 61 74 73 2d 6d 6f 64 | 65 29 20 28 71 75 6f 74 |tats-mod|e) (quot|
|00004a70| 65 20 6d 6f 64 65 2d 63 | 6c 61 73 73 29 20 28 71 |e mode-c|lass) (q|
|00004a80| 75 6f 74 65 20 73 70 65 | 63 69 61 6c 29 29 0a 23 |uote spe|cial)).#|
|00004a90| 40 35 39 20 4d 61 6b 65 | 20 74 68 65 20 73 74 61 |@59 Make| the sta|
|00004aa0| 74 69 73 74 69 63 73 20 | 62 75 66 66 65 72 20 76 |tistics |buffer v|
|00004ab0| 69 73 69 62 6c 65 2c 20 | 62 75 74 20 64 6f 20 6e |isible, |but do n|
|00004ac0| 6f 74 20 73 65 6c 65 63 | 74 20 69 74 2e 1f 0a 28 |ot selec|t it...(|
|00004ad0| 64 65 66 61 6c 69 61 73 | 20 27 64 65 63 69 70 68 |defalias| 'deciph|
|00004ae0| 65 72 2d 64 69 73 70 6c | 61 79 2d 73 74 61 74 73 |er-displ|ay-stats|
|00004af0| 2d 62 75 66 66 65 72 20 | 23 5b 6e 69 6c 20 22 c0 |-buffer |#[nil ".|
|00004b00| 20 c1 20 1a 1b 70 0b 3d | 86 13 00 c4 0b 21 88 c5 | . ..p.=|.....!..|
|00004b10| 5c 6e 21 2a 87 22 20 5b | 64 65 63 69 70 68 65 72 |\n!*." [|decipher|
|00004b20| 2d 73 74 61 74 73 2d 62 | 75 66 66 65 72 20 73 65 |-stats-b|uffer se|
|00004b30| 6c 65 63 74 65 64 2d 77 | 69 6e 64 6f 77 20 63 75 |lected-w|indow cu|
|00004b40| 72 72 65 6e 74 2d 77 69 | 6e 64 6f 77 20 73 74 61 |rrent-wi|ndow sta|
|00004b50| 74 73 2d 62 75 66 66 65 | 72 20 70 6f 70 2d 74 6f |ts-buffe|r pop-to|
|00004b60| 2d 62 75 66 66 65 72 20 | 73 65 6c 65 63 74 2d 77 |-buffer |select-w|
|00004b70| 69 6e 64 6f 77 5d 20 32 | 20 28 23 24 20 2e 20 31 |indow] 2| (#$ . 1|
|00004b80| 39 30 39 32 29 5d 29 0a | 23 40 32 30 36 20 52 65 |9092)]).|#@206 Re|
|00004b90| 74 75 72 6e 20 74 68 65 | 20 62 75 66 66 65 72 20 |turn the| buffer |
|00004ba0| 75 73 65 64 20 66 6f 72 | 20 64 65 63 69 70 68 65 |used for| deciphe|
|00004bb0| 72 20 73 74 61 74 69 73 | 74 69 63 73 2e 0a 49 66 |r statis|tics..If|
|00004bc0| 20 43 52 45 41 54 45 20 | 69 73 20 6e 6f 6e 2d 6e | CREATE |is non-n|
|00004bd0| 69 6c 2c 20 63 72 65 61 | 74 65 20 74 68 65 20 62 |il, crea|te the b|
|00004be0| 75 66 66 65 72 20 69 66 | 20 69 74 20 64 6f 65 73 |uffer if| it does|
|00004bf0| 6e 27 74 20 65 78 69 73 | 74 2e 0a 54 68 69 73 20 |n't exis|t..This |
|00004c00| 69 73 20 67 75 61 72 61 | 6e 74 65 65 64 20 74 6f |is guara|nteed to|
|00004c10| 20 72 65 74 75 72 6e 20 | 61 20 62 75 66 66 65 72 | return |a buffer|
|00004c20| 20 69 6e 20 44 65 63 69 | 70 68 65 72 2d 53 74 61 | in Deci|pher-Sta|
|00004c30| 74 73 20 6d 6f 64 65 3b | 0a 69 66 20 69 74 20 63 |ts mode;|.if it c|
|00004c40| 61 6e 27 74 2c 20 69 74 | 20 73 69 67 6e 61 6c 73 |an't, it| signals|
|00004c50| 20 61 6e 20 65 72 72 6f | 72 2e 1f 0a 28 64 65 66 | an erro|r...(def|
|00004c60| 61 6c 69 61 73 20 27 64 | 65 63 69 70 68 65 72 2d |alias 'd|ecipher-|
|00004c70| 73 74 61 74 73 2d 62 75 | 66 66 65 72 20 23 5b 28 |stats-bu|ffer #[(|
|00004c80| 26 6f 70 74 69 6f 6e 61 | 6c 20 63 72 65 61 74 65 |&optiona|l create|
|00004c90| 29 20 22 08 c1 3d 83 08 | 00 70 87 c2 0b 21 83 28 |) "..=..|.p...!.(|
|00004ca0| 00 c4 0b 21 83 28 00 8a | 0b 71 88 08 29 c1 3d 84 |...!.(..|.q..).=.|
|00004cb0| 26 00 c5 c6 c4 0b 21 5c | 22 88 0b 87 0e 07 83 5a |&.....!\|"......Z|
|00004cc0| 00 c8 c4 20 c8 51 1e 09 | ca c0 cb cc 0e 09 21 21 |... .Q..|......!!|
|00004cd0| 5c 22 a3 c1 3d 83 4a 00 | cc 0e 09 21 82 4e 00 cd |\"..=.J.|...!.N..|
|00004ce0| 0e 09 21 13 29 8a 0b 71 | 88 c1 20 88 29 0b 87 c5 |..!.)..q|.. .)...|
|00004cf0| ce 21 87 22 20 5b 6d 61 | 6a 6f 72 2d 6d 6f 64 65 |.!." [ma|jor-mode|
|00004d00| 20 64 65 63 69 70 68 65 | 72 2d 73 74 61 74 73 2d | deciphe|r-stats-|
|00004d10| 6d 6f 64 65 20 62 75 66 | 66 65 72 70 20 64 65 63 |mode buf|ferp dec|
|00004d20| 69 70 68 65 72 2d 73 74 | 61 74 73 2d 62 75 66 66 |ipher-st|ats-buff|
|00004d30| 65 72 20 62 75 66 66 65 | 72 2d 6e 61 6d 65 20 65 |er buffe|r-name e|
|00004d40| 72 72 6f 72 20 22 42 75 | 66 66 65 72 20 25 73 20 |rror "Bu|ffer %s |
|00004d50| 69 73 20 6e 6f 74 20 69 | 6e 20 44 65 63 69 70 68 |is not i|n Deciph|
|00004d60| 65 72 2d 53 74 61 74 73 | 20 6d 6f 64 65 22 20 63 |er-Stats| mode" c|
|00004d70| 72 65 61 74 65 20 22 2a | 22 20 73 74 61 74 73 2d |reate "*|" stats-|
|00004d80| 6e 61 6d 65 20 61 73 73 | 6f 63 20 62 75 66 66 65 |name ass|oc buffe|
|00004d90| 72 2d 6c 6f 63 61 6c 2d | 76 61 72 69 61 62 6c 65 |r-local-|variable|
|00004da0| 73 20 67 65 74 2d 62 75 | 66 66 65 72 20 67 65 6e |s get-bu|ffer gen|
|00004db0| 65 72 61 74 65 2d 6e 65 | 77 2d 62 75 66 66 65 72 |erate-ne|w-buffer|
|00004dc0| 20 22 4e 6f 20 73 74 61 | 74 69 73 74 69 63 73 20 | "No sta|tistics |
|00004dd0| 62 75 66 66 65 72 22 5d | 20 35 20 28 23 24 20 2e |buffer"]| 5 (#$ .|
|00004de0| 20 31 39 33 34 32 29 5d | 29 0a 28 70 72 6f 76 69 | 19342)]|).(provi|
|00004df0| 64 65 20 28 71 75 6f 74 | 65 20 64 65 63 69 70 68 |de (quot|e deciph|
|00004e00| 65 72 29 29 0a | |er)). | |
+--------+-------------------------+-------------------------+--------+--------+